Changed Flup (FastCGI) backend to set debug=False, to turn off tracebacks in case of error. Thanks, Jared Kuolt

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4170 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2006-12-07 03:04:22 +00:00
parent 939ee97d4d
commit b6a7afd4bd
1 changed files with 2 additions and 0 deletions

View File

@ -118,6 +118,8 @@ def runfastcgi(argset=[], **kwargs):
else: else:
return fastcgi_help("ERROR: Implementation must be one of prefork or thread.") return fastcgi_help("ERROR: Implementation must be one of prefork or thread.")
wsgi_opts['debug'] = False # Turn off flup tracebacks
# Prep up and go # Prep up and go
from django.core.handlers.wsgi import WSGIHandler from django.core.handlers.wsgi import WSGIHandler