Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changed django.core.template_file to use absolute import for 'templat…

…e' module

git-svn-id: http://code.djangoproject.com/svn/django/trunk@721 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 277cc05462ef9f3728d9696788b68e401e53fe4c 1 parent 2aadb6e
@adrianholovaty adrianholovaty authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 django/core/template_file.py
View
5 django/core/template_file.py
@@ -1,6 +1,7 @@
-"Wrapper for loading templates from files"
+# Wrapper for loading templates from files
+
from django.conf.settings import TEMPLATE_DIRS, TEMPLATE_FILE_EXTENSION
-from template import TemplateDoesNotExist
+from django.core.template import TemplateDoesNotExist
import os
def load_template_source(template_name, template_dirs=None):
Please sign in to comment.
Something went wrong with that request. Please try again.