summaryrefslogtreecommitdiff
path: root/tests/template_tests/test_parser.py
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2014-11-10 21:40:26 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2014-12-28 14:47:31 +0100
commit7eefdbf7ab9f5bafe5baae2b877d93efc90e3044 (patch)
tree4b9430487a775ad62415d983d56531cee7f5d0d1 /tests/template_tests/test_parser.py
parentbfa21ddf7649799a2254b50cb83eb5276cb7f129 (diff)
Cleaned up the django.template namespace.
Since this package is going to hold both the implementation of the Django Template Language and the infrastructure for Multiple Template Engines, it should be untied from the DTL as much as possible within our backwards-compatibility policy. Only public APIs (i.e. APIs mentioned in the documentation) were left.
Diffstat (limited to 'tests/template_tests/test_parser.py')
-rw-r--r--tests/template_tests/test_parser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/template_tests/test_parser.py b/tests/template_tests/test_parser.py
index 017e78a863..348428513b 100644
--- a/tests/template_tests/test_parser.py
+++ b/tests/template_tests/test_parser.py
@@ -5,8 +5,8 @@ from __future__ import unicode_literals
from unittest import TestCase
-from django.template import (TokenParser, FilterExpression, Parser, Variable,
- Template, TemplateSyntaxError, Library)
+from django.template import Library, Template, TemplateSyntaxError
+from django.template.base import FilterExpression, Parser, TokenParser, Variable
from django.test import override_settings
from django.utils import six