Ticket #8853: admindoc-template-role.diff

File admindoc-template-role.diff, 608 bytes (added by Ben Spaulding, 16 years ago)
  • django/contrib/admindocs/views.py

     
    263263        else:
    264264            site_obj = GenericSite()
    265265        for dir in settings_mod.TEMPLATE_DIRS:
    266             template_file = os.path.join(dir, "%s.html" % template)
     266            template_file = os.path.join(dir, template)
    267267            templates.append({
    268268                'file': template_file,
    269269                'exists': os.path.exists(template_file),
Back to Top