Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Adrian Holovaty authored October 18, 2005

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. 6  django/views/admin/doc.py
6  django/views/admin/doc.py
@@ -4,8 +4,8 @@
4 4
 from django.models.core import sites
5 5
 from django.core.extensions import DjangoContext, render_to_response
6 6
 from django.core.exceptions import Http404, ViewDoesNotExist
7  
-from django.core import template, template_loader, urlresolvers
8  
-from django.core.template import defaulttags, defaultfilters
  7
+from django.core import template, urlresolvers
  8
+from django.core.template import defaulttags, defaultfilters, loader
9 9
 try:
10 10
     from django.parts.admin import doc
11 11
 except ImportError:
@@ -223,7 +223,7 @@ def load_all_installed_template_libraries():
223 223
     # Clear out and reload default tags
224 224
     template.registered_tags.clear()
225 225
     reload(defaulttags)
226  
-    reload(template_loader) # template_loader defines the block/extends tags
  226
+    reload(loader) # loader defines the block/extends tags
227 227
 
228 228
     # Load any template tag libraries from installed apps
229 229
     for e in templatetags.__path__:

0 notes on commit 1dc6d4b

Please sign in to comment.
Something went wrong with that request. Please try again.