diff options
author | SpeaKeasY <speakeasysky@gmail.com> | 2018-05-20 18:38:33 +0000 |
---|---|---|
committer | SpeaKeasY <speakeasysky@gmail.com> | 2018-05-20 18:38:33 +0000 |
commit | e5c6da5a3919158d8164ae1e0b4a8567da71249d (patch) | |
tree | 7615690fbafe620b01ac824bcd4ed835546ab6fe /manage.py | |
parent | 3075791a931998d36ec21a35d2d9057defd24453 (diff) | |
download | wekan-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-x | manage.py | 15 |
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) |