Ticket #23525: django_admindocs_filter.patch
File django_admindocs_filter.patch, 575 bytes (added by , 10 years ago) |
---|
-
django/contrib/admindocs/views.py
diff --git a/django/contrib/admindocs/views.py b/django/contrib/admindocs/views.py index 6acdf8e..42c961b 100644
a b def load_all_installed_template_libraries(): 313 313 for p in os.listdir(os.path.dirname(upath(mod.__file__))) 314 314 if p.endswith('.py') and p[0].isalpha() 315 315 ] 316 except OSError, AttributeError:316 except (OSError, AttributeError): 317 317 libraries = [] 318 318 for library_name in libraries: 319 319 try: