From fc8612c60478849a80323e55e6c0586769f7646d Mon Sep 17 00:00:00 2001 From: catborise Date: Mon, 24 Feb 2020 10:08:48 +0300 Subject: [PATCH] change os.environ set style which is new one. --- manage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manage.py b/manage.py index 50affd5..f29da8f 100755 --- a/manage.py +++ b/manage.py @@ -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