Ticket #2372: 3382-fcgi-translation.diff
File 3382-fcgi-translation.diff, 643 bytes (added by , 18 years ago) |
---|
-
django/core/management.py
1140 1140 1141 1141 def runfcgi(args): 1142 1142 """Run this project as a FastCGI application. requires flup.""" 1143 from django.conf import settings 1144 from django.utils import translation 1145 try: 1146 translation.activate(settings.LANGUAGE_CODE) 1147 except AttributeError: 1148 pass 1143 1149 from django.core.servers.fastcgi import runfastcgi 1144 1150 runfastcgi(args) 1145 1151 runfcgi.args = '[various KEY=val options, use `runfcgi help` for help]'