dev: set explicitely DJANGO_SETTINGS_MODULE

This commit is contained in:
Tom Hubrecht 2022-10-03 13:19:52 +02:00 committed by thubrecht
parent 4fedf3453d
commit 81a4dbef7c

View file

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