Switch to local_settings first for manage.py as well

This commit is contained in:
Timothy Hobbs 2023-10-23 13:42:18 +02:00
parent 327782b845
commit 7e0a335684

View File

@ -4,7 +4,7 @@ import sys
def main(): def main():
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "standalone.config.settings") os.environ.setdefault("DJANGO_SETTINGS_MODULE", "standalone.config.local_settings")
try: try:
from django.core.management import execute_from_command_line from django.core.management import execute_from_command_line
except ImportError: except ImportError: