From 7eefdbf7ab9f5bafe5baae2b877d93efc90e3044 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Mon, 10 Nov 2014 21:40:26 +0100 Subject: 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. --- tests/template_tests/test_parser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/template_tests/test_parser.py') 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 -- cgit v1.3