Ticket #8895: fastcgi.patch
File fastcgi.patch, 1.0 KB (added by , 16 years ago) |
---|
-
django/core/servers/fastcgi.py
38 38 daemonize=BOOL whether to detach from terminal. 39 39 pidfile=FILE write the spawned process-id to this file. 40 40 workdir=DIRECTORY change to this directory when daemonizing. 41 debug=BOOL set to true to enable flup tracebacks 41 42 outlog=FILE write stdout to this file. 42 43 errlog=FILE write stderr to this file. 43 44 umask=UMASK umask to use when daemonizing (default 022). … … 72 73 'minspare': 2, 73 74 'maxchildren': 50, 74 75 'maxrequests': 0, 76 'debug': None, 75 77 'outlog': None, 76 78 'errlog': None, 77 79 'umask': None, … … 125 127 else: 126 128 return fastcgi_help("ERROR: Implementation must be one of prefork or thread.") 127 129 128 wsgi_opts['debug'] = False # Turn off flup tracebacks130 wsgi_opts['debug'] = options['debug'] is not None 129 131 130 132 try: 131 133 WSGIServer = getattr(__import__('flup.' + flup_module, '', '', flup_module), 'WSGIServer')