From 544a8372fd7b27e5ba4672d127986bc82b4e739a Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Mon, 17 Oct 2011 16:56:18 +0000 Subject: Remove several more relative imports. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17007 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/template/base.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'django/template/base.py') 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 -- cgit v1.2.1