#25878: APPEND_SLASH doesn't work with DEBUG=False when template/404.html is
erroneous
---------------------------------+------------------------------------
     Reporter:  kuna             |                    Owner:  nobody
         Type:  Bug              |                   Status:  new
    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 tripples):

 I was facing same issue after upgrading to Django 1.9. When DEBUG=False
 redirection was not happening. Applied above patch manually on production
 system. Helped for me.


 Case 1(Issue):
 When DEBUG=False,
 example.com/sample
 Returns 404.

 Case 2:
 Whereas with DEBUG=True
 example.com/sample/
 Return 301

 Thanks,
 Sanket

--
Ticket URL: <https://code.djangoproject.com/ticket/25878#comment:14>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.d793fcdd26ca78741cdcf302468789af%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to