We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19c9cbf commit 784a97cCopy full SHA for 784a97c
manage.py
@@ -0,0 +1,15 @@
1
+#!/usr/bin/env python
2
+import os
3
+import sys
4
+
5
+if __name__ == "__main__":
6
+ os.environ.setdefault("DJANGO_SETTINGS_MODULE", "api_automation_test.settings")
7
+ try:
8
+ from django.core.management import execute_from_command_line
9
+ except ImportError as exc:
10
+ raise ImportError(
11
+ "Couldn't import Django. Are you sure it's installed and "
12
+ "available on your PYTHONPATH environment variable? Did you "
13
+ "forget to activate a virtual environment?"
14
+ ) from exc
15
+ execute_from_command_line(sys.argv)
0 commit comments