mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Deprecated TEMPLATE_DEBUG setting.
This commit is contained in:
@@ -33,7 +33,7 @@ class ErrorIndexTest(TestCase):
|
||||
Checks whether index of error is calculated correctly in
|
||||
template debugger in for loops. Refs ticket #5831
|
||||
"""
|
||||
@override_settings(DEBUG=True, TEMPLATE_DEBUG=True)
|
||||
@override_settings(DEBUG=True)
|
||||
def test_correct_exception_index(self):
|
||||
tests = [
|
||||
('{% load bad_tag %}{% for i in range %}{% badsimpletag %}{% endfor %}', (38, 56)),
|
||||
|
||||
Reference in New Issue
Block a user