3 | Select Location to change 4 |
5 |-
7 |
- 8 | 9 | Import 10 | 11 | 12 |
- 13 | 14 | Export 15 | 16 | 17 |
- 18 | 19 | Recover deleted Locations 20 | 21 | 22 |
- 23 | 24 | Add Location 25 | 26 | 27 |
91 |
{% trans "No." %} | 7 |{% trans "ItemModel.verbose_name_plural" %} | 8 |
---|---|
{{ forloop.counter }} | 14 |{{ obj }} | 15 |
{% trans "No." %} | 7 |{% trans "ItemModel.verbose_name_plural" %} | 8 |
---|---|
{{ forloop.counter }} | 14 |{{ obj }} | 15 |
0 Locations
', 32 | ), 33 | ) 34 | assert_html_response_snapshot(response=response, validate=False) 35 | -------------------------------------------------------------------------------- /inventory/tests/test_admin_location_empty_change_list_1.snapshot.html: -------------------------------------------------------------------------------- 1 |You don’t have permission to view or edit anything.
", 44 | ), 45 | ) 46 | self.assertTemplateUsed(response, template_name="admin/index.html") 47 | 48 | def test_superuser_admin_index(self): 49 | self.client.force_login(self.superuser) 50 | response = self.client.get("/admin/", secure=True, headers={"accept-language": "en"}) 51 | self.assert_html_parts( 52 | response, 53 | parts=( 54 | "inventory", 55 | "superuser", 56 | "Site administration", 57 | "/admin/auth/group/add/", 58 | "/admin/auth/user/add/", 59 | ), 60 | ) 61 | self.assertTemplateUsed(response, template_name="admin/index.html") 62 | assert_html_response_snapshot(response, validate=False) 63 | -------------------------------------------------------------------------------- /inventory_project/tests/test_admin_item_login_1.snapshot.html: -------------------------------------------------------------------------------- 1 |8 | 11 | 12 |
13 |14 | 17 | 18 |
19 |15 | 16 | Groups 17 | 18 | | 19 |20 | 21 | Add 22 | 23 | | 24 |25 | 26 | Change 27 | 28 | | 29 |
---|---|---|
32 | 33 | Users 34 | 35 | | 36 |37 | 38 | Add 39 | 40 | | 41 |42 | 43 | Change 44 | 45 | | 46 |
58 | 59 | Items 60 | 61 | | 62 |63 | 64 | Add 65 | 66 | | 67 |68 | 69 | Change 70 | 71 | | 72 |
---|---|---|
75 | 76 | Locations 77 | 78 | | 79 |80 | 81 | Add 82 | 83 | | 84 |85 | 86 | Change 87 | 88 | | 89 |
92 | 93 | Memos 94 | 95 | | 96 |97 | 98 | Add 99 | 100 | | 101 |102 | 103 | Change 104 | 105 | | 106 |