1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-23 22:55:23 +00:00

change os.environ set style which is new one.

This commit is contained in:
catborise 2020-02-24 10:08:48 +03:00
parent 450f633e79
commit fc8612c604

View file

@ -3,7 +3,7 @@ import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "webvirtcloud.settings")
os.environ["DJANGO_SETTINGS_MODULE"] = "webvirtcloud.settings"
from django.core.management import execute_from_command_line