Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…late_loader

git-svn-id: http://code.djangoproject.com/svn/django/trunk@922 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 1dc6d4b26506fe3d8c5e72aa958b8e82ea9975be 1 parent 91c67bc
@adrianholovaty adrianholovaty authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 django/views/admin/doc.py
View
6 django/views/admin/doc.py
@@ -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
try:
from django.parts.admin import doc
except ImportError:
@@ -223,7 +223,7 @@ def load_all_installed_template_libraries():
# Clear out and reload default tags
template.registered_tags.clear()
reload(defaulttags)
- 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__:
Please sign in to comment.
Something went wrong with that request. Please try again.