Commits

Carl Meyer  committed feeeec8

Add testserver.py for running test-project server.

  • Participants
  • Parent commits 5a9b991

Comments (0)

Files changed (1)

File testserver.py

+#!/usr/bin/env python
+import os, sys
+
+
+if __name__ == '__main__':
+    os.environ['DJANGO_SETTINGS_MODULE'] = 'tests.project.settings'
+    from django.core.management import execute_from_command_line
+    execute_from_command_line(['./testserver.py', 'runserver'])