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:
parent
2aadb6ef8c
commit
277cc05462
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user