mirror of
https://github.com/i701/sarlink-portal-api.git
synced 2025-06-28 22:03:59 +00:00
Refactor Django settings module and environment configuration
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m31s
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m31s
- Move settings to a modular configuration structure - Update environment variables in .env.example - Modify DJANGO_SETTINGS_MODULE references across project files - Simplify and standardize environment variable naming
This commit is contained in:
@ -11,6 +11,6 @@ import os
|
||||
|
||||
from django.core.asgi import get_asgi_application
|
||||
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "apibase.settings")
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "apibase.django.local")
|
||||
|
||||
application = get_asgi_application()
|
||||
|
Reference in New Issue
Block a user