#21048: Error page should not invoke callables passed through WSGI META 
structure
-------------------------------+--------------------
     Reporter:  ericbuehl      |      Owner:  nobody
         Type:  Bug            |     Status:  new
    Component:  Uncategorized  |    Version:  master
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  1
Easy pickings:  0              |      UI/UX:  0
-------------------------------+--------------------
 WSGI servers such as Werkzeug pass callable methods that should NOT be
 called when the META structure is printed in places such as the debug
 response handler. http://werkzeug.pocoo.org/docs/serving/#shutting-down-
 the-server

 When a Django view throws an error (with DEBUG=True) and is hosted by
 Werkzeug, it causes the server to silently shut down because the Django
 error page is blindly calling the shutdown method in order to pretty print
 the result for the error page.

 I have included a pull request that I believe addresses this issue:
 https://github.com/django/django/pull/1546

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21048>
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/052.98367d4bb0fe8848d2a16647190848e6%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to