Ticket #2372: management.py.diff
File management.py.diff, 742 bytes (added by , 18 years ago) |
---|
-
usr/lib/python2.4/site-packages/django/core/management.py
1134 1134 1135 1135 def runfcgi(args): 1136 1136 """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 1137 1143 from django.core.servers.fastcgi import runfastcgi 1138 1144 runfastcgi(args) 1139 1145 runfcgi.args = '[various KEY=val options, use `runfcgi help` for help]'