mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #35505 -- Added extrabody block to admin/base.html.
This commit is contained in:
@@ -1746,6 +1746,10 @@ class AdminCustomTemplateTests(AdminViewBasicTestCase):
|
||||
response = self.client.get(reverse("admin:admin_views_section_add"))
|
||||
self.assertContains(response, "bodyclass_consistency_check ")
|
||||
|
||||
def test_extended_extrabody(self):
|
||||
response = self.client.get(reverse("admin:admin_views_section_add"))
|
||||
self.assertContains(response, "extrabody_check\n</body>")
|
||||
|
||||
def test_change_password_template(self):
|
||||
user = User.objects.get(username="super")
|
||||
response = self.client.get(
|
||||
|
||||
Reference in New Issue
Block a user