Skip to content
Browse files

Fixed #8895: expose the debug setting to fastcgi. Thanks, paulegan.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent a50c6f1 commit c860758a574432a2eaef72d609535d40455cbfa2 @jacobian jacobian committed
Showing with 3 additions and 1 deletion.
  1. +3 −1 django/core/servers/
4 django/core/servers/
@@ -39,6 +39,7 @@
daemonize=BOOL whether to detach from terminal.
pidfile=FILE write the spawned process-id to this file.
workdir=DIRECTORY change to this directory when daemonizing.
+ debug=BOOL set to true to enable flup tracebacks
outlog=FILE write stdout to this file.
errlog=FILE write stderr to this file.
umask=UMASK umask to use when daemonizing (default 022).
@@ -73,6 +74,7 @@
'minspare': 2,
'maxchildren': 50,
'maxrequests': 0,
+ 'debug': None,
'outlog': None,
'errlog': None,
'umask': None,
@@ -126,7 +128,7 @@ def runfastcgi(argset=[], **kwargs):
return fastcgi_help("ERROR: Implementation must be one of prefork or thread.")
- wsgi_opts['debug'] = False # Turn off flup tracebacks
+ wsgi_opts['debug'] = options['debug'] is not None
module = importlib.import_module('.%s' % flup_module, 'flup')

0 comments on commit c860758

Please sign in to comment.
Something went wrong with that request. Please try again.