mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #23898 -- Added missing context to admin's deleted_selected view.
Thanks Redouane Zait for the report.
This commit is contained in:
committed by
Tim Graham
parent
392e11945f
commit
8e7b384d89
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user