1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-24 15:15:22 +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 import sys
if __name__ == "__main__": 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 from django.core.management import execute_from_command_line