Calling manage outside of src/

This commit is contained in:
Benjamin Bach 2017-08-28 21:54:04 +02:00
parent ab18d46bfe
commit ceef9bbd55
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,8 @@
import os
import sys
sys.path.append(os.path.dirname(__file__))
if __name__ == "__main__":
os.environ.setdefault(
"DJANGO_SETTINGS_MODULE",