#11092: APPEND_SLASH behaviour in DEBUG mode not documented ------------------------------------+--------------------------------------- Reporter: mikelim | Owner: nobody Status: closed | Milestone: Component: Documentation | Version: 1.0 Resolution: invalid | Keywords: APPEND_SLASH, not working Stage: Unreviewed | Has_patch: 1 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | ------------------------------------+--------------------------------------- Changes (by ubernostrum):
* status: new => closed * resolution: => invalid Comment: `APPEND_SLASH` happens regardless of the value of `DEBUG`. There is a special error case that we look at -- when `DEBUG` is `True`, if and only if you do an HTTP POST to a URL that should have a trailing slash but doesn't, we raise an exception warning you that doing this will discard the POST data. But if you look at [http://code.djangoproject.com/browser/django/trunk/django/middleware/common.py#L55 the actual code in Django] you'll see quite clearly that `DEBUG` does not affect whether the redirect is issued. -- Ticket URL: <http://code.djangoproject.com/ticket/11092#comment:2> Django <http://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 post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---