dev: set explicitely DJANGO_SETTINGS_MODULE

This commit is contained in:
Tom Hubrecht 2022-10-03 13:19:52 +02:00
parent 50e59167ae
commit 533d4fdb2c

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