1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Remove several more relative imports.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Alex Gaynor
2011-10-17 16:56:18 +00:00
parent 1856e398c5
commit 544a8372fd
8 changed files with 41 additions and 24 deletions

View File

@@ -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