1
0
mirror of https://github.com/django/django.git synced 2024-12-25 18:46:22 +00:00

Changed django.core.template_file to use absolute import for 'template' module

git-svn-id: http://code.djangoproject.com/svn/django/trunk@721 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2005-09-29 15:06:53 +00:00
parent 2aadb6ef8c
commit 277cc05462

View File

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