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:
parent
450f633e79
commit
fc8612c604
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue