Commits

Carl Meyer committed feeeec8

Add testserver.py for running test-project server.

Comments (0)

Files changed (1)

+#!/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'])