Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changed Flup (FastCGI) backend to set debug=False, to turn off traceb…

…acks in case of error. Thanks, Jared Kuolt

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4170 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit b6a7afd4bd481100d52b2bfee8b433b47e0b60bf 1 parent 939ee97
Adrian Holovaty adrianholovaty authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  django/core/servers/fastcgi.py
2  django/core/servers/fastcgi.py
View
@@ -118,6 +118,8 @@ def runfastcgi(argset=[], **kwargs):
else:
return fastcgi_help("ERROR: Implementation must be one of prefork or thread.")
+ wsgi_opts['debug'] = False # Turn off flup tracebacks
+
# Prep up and go
from django.core.handlers.wsgi import WSGIHandler
Please sign in to comment.
Something went wrong with that request. Please try again.