mirror of
https://github.com/django/django.git
synced 2025-10-27 23:56:08 +00:00
[4.2.x] Fixed #34512 -- Restored breadcrumbs on admin app index view.
Thanks Adam (ataylor32) for the report. Regression in872b61193b. Backport of9440f6ba41from main
This commit is contained in:
@@ -23,3 +23,7 @@ class AdminBreadcrumbsTests(TestCase):
|
||||
def test_breadcrumbs_present(self):
|
||||
response = self.client.get(reverse("admin:auth_user_add"))
|
||||
self.assertContains(response, '<nav aria-label="Breadcrumbs">')
|
||||
response = self.client.get(
|
||||
reverse("admin:app_list", kwargs={"app_label": "auth"})
|
||||
)
|
||||
self.assertContains(response, '<nav aria-label="Breadcrumbs">')
|
||||
|
||||
Reference in New Issue
Block a user