diff options
Diffstat (limited to 'tests/generic_inline_admin/tests.py')
| -rw-r--r-- | tests/generic_inline_admin/tests.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/generic_inline_admin/tests.py b/tests/generic_inline_admin/tests.py index d76e58bf3b..91883e1170 100644 --- a/tests/generic_inline_admin/tests.py +++ b/tests/generic_inline_admin/tests.py @@ -15,11 +15,13 @@ from .admin import MediaInline, MediaPermanentInline, site as admin_site from .models import Category, Episode, EpisodePermanent, Media -# Set TEMPLATE_DEBUG to True to ensure {% include %} will raise exceptions. +# Set DEBUG to True to ensure {% include %} will raise exceptions. # That is how inlines are rendered and #9498 will bubble up if it is an issue. -@override_settings(PASSWORD_HASHERS=['django.contrib.auth.hashers.SHA1PasswordHasher'], - TEMPLATE_DEBUG=True, - ROOT_URLCONF="generic_inline_admin.urls") +@override_settings( + DEBUG=True, + PASSWORD_HASHERS=['django.contrib.auth.hashers.SHA1PasswordHasher'], + ROOT_URLCONF="generic_inline_admin.urls", +) class GenericAdminViewTest(TestCase): fixtures = ['users.xml'] |
