mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Refs #27175 -- Removed an obsolete test comment and DEBUG=True.
As of e62165b898
, {% include %}
doesn't silence exceptions.
This commit is contained in:
parent
47aba5ed1f
commit
058d112ed2
@ -22,9 +22,7 @@ class TestDataMixin:
|
|||||||
cls.superuser = User.objects.create_superuser(username='super', password='secret', email='super@example.com')
|
cls.superuser = User.objects.create_superuser(username='super', password='secret', email='super@example.com')
|
||||||
|
|
||||||
|
|
||||||
# Set DEBUG to True to ensure {% include %} will raise exceptions.
|
@override_settings(ROOT_URLCONF='generic_inline_admin.urls')
|
||||||
# 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')
|
|
||||||
class GenericAdminViewTest(TestDataMixin, TestCase):
|
class GenericAdminViewTest(TestDataMixin, TestCase):
|
||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user