1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-03-22 10:34:49 +00:00

fix secrets & console files & move coverage to dev/req

This commit is contained in:
catborise 2020-06-03 11:26:25 +03:00
parent 22157bb050
commit d95e60e2ad
6 changed files with 4 additions and 5 deletions

View file

@ -7,7 +7,7 @@ import django
DIR_PATH = os.path.dirname(os.path.abspath(__file__))
ROOT_PATH = os.path.abspath(os.path.join(DIR_PATH, '..', ''))
os.environ["DJANGO_SETTINGS_MODULE"] = "webvirtcloud.settings"
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'webvirtcloud.settings')
CERT = DIR_PATH + '/cert.pem'
if ROOT_PATH not in sys.path: