diff options
| author | Tim Graham <timograham@gmail.com> | 2017-12-28 14:50:38 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-12-28 14:57:06 -0500 |
| commit | 058d112ed2635873d415661bdf0fcc8752ec37c9 (patch) | |
| tree | 6a74df822ab9179a08ea9d7193fb8034e51def4a /tests/generic_inline_admin | |
| parent | 47aba5ed1fca234a43b0088009e5b9d891a029c7 (diff) | |
Refs #27175 -- Removed an obsolete test comment and DEBUG=True.
As of e62165b898785e890661953c3b2c9c36d98aee57, {% include %}
doesn't silence exceptions.
Diffstat (limited to 'tests/generic_inline_admin')
| -rw-r--r-- | tests/generic_inline_admin/tests.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/generic_inline_admin/tests.py b/tests/generic_inline_admin/tests.py index 26a53f9985..07670d288c 100644 --- a/tests/generic_inline_admin/tests.py +++ b/tests/generic_inline_admin/tests.py @@ -22,9 +22,7 @@ class TestDataMixin: cls.superuser = User.objects.create_superuser(username='super', password='secret', email='super@example.com') -# 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(DEBUG=True, ROOT_URLCONF='generic_inline_admin.urls') +@override_settings(ROOT_URLCONF='generic_inline_admin.urls') class GenericAdminViewTest(TestDataMixin, TestCase): def setUp(self): |
