mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Fixed #23898 -- Added missing context to admin's deleted_selected view.
Thanks Redouane Zait for the report.
This commit is contained in:
parent
392e11945f
commit
8e7b384d89
3 changed files with 16 additions and 11 deletions
|
@ -838,6 +838,7 @@ class AdminCustomTemplateTests(AdminViewBasicTestCase):
|
|||
'_selected_action': group.id
|
||||
}
|
||||
response = self.client.post('/test_admin/%s/auth/group/' % (self.urlbit), post_data)
|
||||
self.assertEqual(response.context['site_header'], 'Django administration')
|
||||
self.assertContains(response, 'bodyclass_consistency_check ')
|
||||
|
||||
def test_filter_with_custom_template(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue