Opened 8 years ago
Closed 8 years ago
#27748 closed Cleanup/optimization (fixed)
Use callables instead of strings as default error handlers (handler404, etc.)
Description ¶
Related PR: https://github.com/django/django/pull/7858
Django favors direct imports to import strings where possible, however right now default error handlers are dotted module path strings, e.g. 'django.views.defaults.bad_request'
.
Change History (2)
comment:1 by , 8 years ago
Has patch: | set |
---|---|
Summary: | Use callables as default status code handlers → Use callables instead of strings as default error handlers (handler404, etc.) |
Triage Stage: | Unreviewed → Accepted |
Type: | Uncategorized → Cleanup/optimization |
comment:2 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In b09faa49: