Ticket #2732: django-fastcgi-runfastcgi-minorfix.diff

File django-fastcgi-runfastcgi-minorfix.diff, 429 bytes (added by James Crasta <jcrasta@…>, 9 years ago)

Minor fix to allow the first argument to runfastcgi to be optional, thus making calling it with kwargs useful

  • django/core/servers/fastcgi.py

     
    7474        print message
    7575    return False
    7676
    77 def runfastcgi(argset, **kwargs):
     77def runfastcgi(argset=[], **kwargs):
    7878    options = FASTCGI_OPTIONS.copy()
    7979    options.update(kwargs)
    8080    for x in argset:
Back to Top