diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2011-10-17 16:56:18 +0000 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2011-10-17 16:56:18 +0000 |
commit | 544a8372fd7b27e5ba4672d127986bc82b4e739a (patch) | |
tree | 548ad3d202e3b368e25ab269121c73fab0627ae7 /django/template/base.py | |
parent | 1856e398c54f65e97e69ee78c9dae61044ab7318 (diff) | |
download | django-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.py | 4 |
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 |