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

- 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:
2025-03-03 22:11:13 +05:00
parent 0b012b20b6
commit 9c975944b8
11 changed files with 80 additions and 66 deletions

6
apibase/env.py Normal file
View File

@ -0,0 +1,6 @@
import environ
from pathlib import Path
env = environ.Env()
BASE_DIR = Path(__file__).resolve().parent.parent