1
0
mirror of https://github.com/django/django.git synced 2025-10-30 17:16:10 +00:00

[1.8.x] Fixed #24426 -- Displayed admin actions panel when show_full_result_count=False.

Backport of 36a17be9f3 from master
This commit is contained in:
Tim Graham
2015-03-04 12:00:12 -05:00
parent 4fa61e0e4f
commit 20bf320502
2 changed files with 2 additions and 1 deletions

View File

@@ -2655,6 +2655,7 @@ class AdminSearchTest(TestCase):
self.assertContains(response,
"""<span class="small quiet">1 result (<a href="?">Show all</a>)</span>""",
html=True)
self.assertTrue(response.context['cl'].show_admin_actions)
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',),