#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:  1                |      Needs documentation:  0
  Needs tests:  1                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+-------------------------------------

Comment (by pulsedemon):

 @timgraham I did have a problem with my 404 template, which I didn't
 realize until I saw this ticket.  I had a custom 404 handler and it was
 not setting a 404 status_code.  So because it was returning 200,
 APPEND_SLASH was never activated.
 The template itself worked fine, it was just the status_code causing
 problems.

--
Ticket URL: <https://code.djangoproject.com/ticket/25878#comment:18>
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.1a82d9f092c8f7f5d5c964913be2e64e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to