summaryrefslogtreecommitdiff
path: root/django/template/base.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2011-10-17 16:56:18 +0000
committerAlex Gaynor <alex.gaynor@gmail.com>2011-10-17 16:56:18 +0000
commit544a8372fd7b27e5ba4672d127986bc82b4e739a (patch)
tree548ad3d202e3b368e25ab269121c73fab0627ae7 /django/template/base.py
parent1856e398c54f65e97e69ee78c9dae61044ab7318 (diff)
downloaddjango-544a8372fd7b27e5ba4672d127986bc82b4e739a.tar.gz
Remove several more relative imports.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/template/base.py')
-rw-r--r--django/template/base.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/django/template/base.py b/django/template/base.py
index 8001e93d5f..3e0c14aa03 100644
--- a/django/template/base.py
+++ b/django/template/base.py
@@ -1,3 +1,5 @@
+from __future__ import absolute_import
+
import re
from functools import partial
from inspect import getargspec
@@ -141,7 +143,7 @@ class Template(object):
def compile_string(template_string, origin):
"Compiles template_string into NodeList ready for rendering"
if settings.TEMPLATE_DEBUG:
- from debug import DebugLexer, DebugParser
+ from django.template.debug import DebugLexer, DebugParser
lexer_class, parser_class = DebugLexer, DebugParser
else:
lexer_class, parser_class = Lexer, Parser