mirror of
https://github.com/django/django.git
synced 2025-11-22 12:14:45 +00:00
Fixed #35505 -- Added extrabody block to admin/base.html.
This commit is contained in:
parent
a0c44d4e23
commit
ce1ad98565
5 changed files with 36 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue