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):