Changes between Version 1 and Version 2 of Ticket #23525
- Timestamp:
- Sep 19, 2014, 3:31:43 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #23525 – Description
v1 v2 1 Accessing `hostname.com/admin/doc/filters` and `hostname.com/admin/doc/tags` causes an Internal Server Error on Django 1.7. 1 Accessing `hostname.com/admin/doc/filters` and `hostname.com/admin/doc/tags` causes an Internal Server Error on Django 1.7. The cause is modules that have no `__file__` attribute. 2 2 3 3 In `django/contrib/admindocs/views.py`, the function `load_all_installed_template_libraries()` already gracefully fails on `OSError` when finding python files. However, when the module being checked has no `__file__` attribute the error bubbles up and causes an Internal Server Error.