settings split for development and production.py

This commit is contained in:
2025-08-04 19:26:38 +03:00
parent f501be9794
commit 8294db9189
35 changed files with 711 additions and 66 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import sys
def main():
"""Run administrative tasks."""
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "DepoT.settings")
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "DepoT.settings.development")
try:
from django.core.management import execute_from_command_line
except ImportError as exc: