#25878: APPEND_SLASH doesn't work with DEBUG=False
-------------------------------+--------------------------------------
Reporter: kuna | Owner: nobody
Type: Bug | Status: new
Component: HTTP handling | Version: 1.9
Severity: Normal | Resolution:
Keywords: slash,debug | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Comment (by kuna):
I found why this occurs: there was erroneous {{{ 404.html }}} file in my
{{{ ./(appname)/templates }}} directory, and that template file was loaded
when unslashed URL called which called {{{ page_not_found }}} in {{{
views/defaults.py }}}. But I think that shouldn't happened as it's
unexpected behavior. Also, rendering template even in case of redirection
is definitely a resource waste, I think.
That wasn't happened in django 1.8.7.
--
Ticket URL: <https://code.djangoproject.com/ticket/25878#comment:6>
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.b41d111a9feb65df4b40ed3872838437%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.