#29642: Add check for signatures of custom error views
-------------------------------------+-------------------------------------
Reporter: Adam (Chainz) | Owner: nobody
Johnson |
Type: New feature | Status: new
Component: Core (System | Version: master
checks) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Tim Graham):
Maybe a documentation suggestion to facilitate testing would be helpful:
{{{
if settings.DEBUG:
urlpatterns += [
path('500/', 'path.to.custom_500_handler'),
)
}}}
I think it's more empowering than "check the signature and assume the rest
of the view works." ;-)
--
Ticket URL: <https://code.djangoproject.com/ticket/29642#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/068.5ab26d448dde8a7573ad30088766eee2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.