|
@@ -1,3 +1,5 @@
|
|
|
+import warnings
|
|
|
+
|
|
|
from django.core.management.base import BaseCommand
|
|
|
|
|
|
class Command(BaseCommand):
|
|
@@ -5,6 +7,10 @@ class Command(BaseCommand):
|
|
|
args = '[various KEY=val options, use `runfcgi help` for help]'
|
|
|
|
|
|
def handle(self, *args, **options):
|
|
|
+ warnings.warn(
|
|
|
+ "FastCGI support has been deprecated and will be removed in Django 1.9.",
|
|
|
+ PendingDeprecationWarning)
|
|
|
+
|
|
|
from django.conf import settings
|
|
|
from django.utils import translation
|
|
|
# Activate the current language, because it won't get activated later.
|
|
@@ -14,7 +20,7 @@ class Command(BaseCommand):
|
|
|
pass
|
|
|
from django.core.servers.fastcgi import runfastcgi
|
|
|
runfastcgi(args)
|
|
|
-
|
|
|
+
|
|
|
def usage(self, subcommand):
|
|
|
from django.core.servers.fastcgi import FASTCGI_HELP
|
|
|
return FASTCGI_HELP
|