Ticket #2372: management.py.diff

File management.py.diff, 742 bytes (added by ludo@…, 18 years ago)

quick fix

  • usr/lib/python2.4/site-packages/django/core/management.py

     
    11341134
    11351135def runfcgi(args):
    11361136    """Run this project as a FastCGI application. requires flup."""
     1137    from django.conf import settings
     1138    from django.utils import translation
     1139    try:
     1140        translation.activate(settings.LANGUAGE_CODE)
     1141    except AttributeError:
     1142        pass
    11371143    from django.core.servers.fastcgi import runfastcgi
    11381144    runfastcgi(args)
    11391145runfcgi.args = '[various KEY=val options, use `runfcgi help` for help]'
Back to Top