1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

[1.8.x] Deprecated TEMPLATE_DEBUG setting.

Backport of 15b711b from master.
This commit is contained in:
Aymeric Augustin
2015-02-15 15:42:05 +01:00
parent 69c662c981
commit e8950668ca
20 changed files with 72 additions and 48 deletions

View File

@@ -89,7 +89,7 @@ class ParserTests(TestCase):
with six.assertRaisesRegex(self, TypeError, "Variable must be a string or number, got <(class|type) 'dict'>"):
Variable({})
@override_settings(DEBUG=True, TEMPLATE_DEBUG=True)
@override_settings(DEBUG=True)
def test_compile_filter_error(self):
# regression test for #19819
msg = "Could not parse the remainder: '@bar' from 'foo@bar'"