#25878: APPEND_SLASH doesn't work with DEBUG=False when template/404.html is
erroneous
---------------------------------+-------------------------------------
Reporter: kuna | Owner: timgraham
Type: Bug | Status: assigned
Component: HTTP handling | Version: 1.9
Severity: Release blocker | Resolution:
Keywords: slash,debug | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+-------------------------------------
Changes (by timgraham):
* has_patch: 1 => 0
* needs_tests: 1 => 0
Comment:
Right, so with 434d309ef6dbecbfd2b322d3a1da78aa5cb05fa8 (#24720) your
`handler404` (which is only used when `DEBUG=False`, must return a 404
status code, otherwise `APPEND_SLASH` won't work correctly. I don't think
this is an unreasonable requirement, but it needs to be mentioned in the
1.9 release notes as a backwards-incompatible change (unless someone
thinks this needs to go through a deprecation path and thus we should
revert the original patch on 1.9). We could add logging as I mentioned in
comment 19 to help developers find this mistake in their handler.
--
Ticket URL: <https://code.djangoproject.com/ticket/25878#comment:21>
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/062.5a52211891f5b77841ce786e6072a414%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.