mirror of
https://github.com/i701/sarlink-portal-api.git
synced 2025-06-28 05:26:07 +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:
6
apibase/env.py
Normal file
6
apibase/env.py
Normal file
@ -0,0 +1,6 @@
|
||||
import environ
|
||||
from pathlib import Path
|
||||
|
||||
env = environ.Env()
|
||||
|
||||
BASE_DIR = Path(__file__).resolve().parent.parent
|
Reference in New Issue
Block a user