Ticket #8853: admindoc-template-role.diff
File admindoc-template-role.diff, 608 bytes (added by , 16 years ago) |
---|
-
django/contrib/admindocs/views.py
263 263 else: 264 264 site_obj = GenericSite() 265 265 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) 267 267 templates.append({ 268 268 'file': template_file, 269 269 'exists': os.path.exists(template_file),