Calling manage outside of src/
This commit is contained in:
parent
ab18d46bfe
commit
ceef9bbd55
|
@ -2,6 +2,8 @@
|
|||
import os
|
||||
import sys
|
||||
|
||||
sys.path.append(os.path.dirname(__file__))
|
||||
|
||||
if __name__ == "__main__":
|
||||
os.environ.setdefault(
|
||||
"DJANGO_SETTINGS_MODULE",
|
||||
|
|
Loading…
Reference in a new issue