Waldemar Kornewald  committed b2594fb

use PROJECT_DIR instead of working dir for runserver

  • Participants
  • Parent commits abbd132

Comments (0)

Files changed (1)

File management/commands/

 import sys
 from django.db import connections
+from ...boot import PROJECT_DIR
 from ...db.base import DatabaseWrapper
 from import BaseCommand
 from django.core.exceptions import ImproperlyConfigured
     # Append the current working directory to the arguments.
-    dev_appserver_main.main([progname] + args + [os.getcwdu()])
+    dev_appserver_main.main([progname] + args + [PROJECT_DIR])
 class Command(BaseCommand):
     """Overrides the default Django runserver command.