summaryrefslogtreecommitdiffstats
path: root/manage.py
diff options
context:
space:
mode:
authorSpeaKeasY <speakeasysky@gmail.com>2018-05-20 18:38:33 +0000
committerSpeaKeasY <speakeasysky@gmail.com>2018-05-20 18:38:33 +0000
commite5c6da5a3919158d8164ae1e0b4a8567da71249d (patch)
tree7615690fbafe620b01ac824bcd4ed835546ab6fe /manage.py
parent3075791a931998d36ec21a35d2d9057defd24453 (diff)
downloadwekan-e5c6da5a3919158d8164ae1e0b4a8567da71249d.tar.gz
wekan-e5c6da5a3919158d8164ae1e0b4a8567da71249d.tar.bz2
wekan-e5c6da5a3919158d8164ae1e0b4a8567da71249d.zip
Added initial DJango 2.0.5 project config with pyjade, python 3.6.5 venv.
Diffstat (limited to 'manage.py')
-rwxr-xr-xmanage.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/manage.py b/manage.py
new file mode 100755
index 00000000..fb78ed9c
--- /dev/null
+++ b/manage.py
@@ -0,0 +1,15 @@
+#!/usr/bin/env python
+import os
+import sys
+
+if __name__ == "__main__":
+ os.environ.setdefault("DJANGO_SETTINGS_MODULE", "wekan_py.settings")
+ try:
+ from django.core.management import execute_from_command_line
+ except ImportError as exc:
+ raise ImportError(
+ "Couldn't import Django. Are you sure it's installed and "
+ "available on your PYTHONPATH environment variable? Did you "
+ "forget to activate a virtual environment?"
+ ) from exc
+ execute_from_command_line(sys.argv)