Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #8853: don't automatically append .html in the admindoc :templa…

…te: role. Thanks, Ben Spaulding.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10315 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit a274ad9277d0d5c92da71d82f23e78c72d2013df 1 parent f83af07
Jacob Kaplan-Moss authored April 01, 2009

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/contrib/admindocs/views.py
2  django/contrib/admindocs/views.py
@@ -264,7 +264,7 @@ def template_detail(request, template):
264 264
         else:
265 265
             site_obj = GenericSite()
266 266
         for dir in settings_mod.TEMPLATE_DIRS:
267  
-            template_file = os.path.join(dir, "%s.html" % template)
  267
+            template_file = os.path.join(dir, template)
268 268
             templates.append({
269 269
                 'file': template_file,
270 270
                 'exists': os.path.exists(template_file),

0 notes on commit a274ad9

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