Browse files

Changed django.views.admin.doc to use template.loader instead of temp…


git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
adrianholovaty committed Oct 18, 2005
1 parent 91c67bc commit 1dc6d4b26506fe3d8c5e72aa958b8e82ea9975be
Showing with 3 additions and 3 deletions.
  1. +3 −3 django/views/admin/
@@ -4,8 +4,8 @@
from django.models.core import sites
from django.core.extensions import DjangoContext, render_to_response
from django.core.exceptions import Http404, ViewDoesNotExist
-from django.core import template, template_loader, urlresolvers
-from django.core.template import defaulttags, defaultfilters
+from django.core import template, urlresolvers
+from django.core.template import defaulttags, defaultfilters, loader
from import doc
except ImportError:
@@ -223,7 +223,7 @@ def load_all_installed_template_libraries():
# Clear out and reload default tags
- reload(template_loader) # template_loader defines the block/extends tags
+ reload(loader) # loader defines the block/extends tags
# Load any template tag libraries from installed apps
for e in templatetags.__path__:

0 comments on commit 1dc6d4b

Please sign in to comment.