feat(config): add dj-database-url for simplified database configuration

This commit is contained in:
sankalp committed 2025-10-29 10:02:24 +05:45
1 parent 793f8827fd
commit c07309127b
3 files changed
+22 -9

No files matched your search

+4 -1
View File
@@ -3,7 +3,10 @@ DJANGO_SETTINGS_MODULE={{ project_name }}.settings.development
SECRET_KEY= your-secret-key
ALLOWED_HOSTS=api.your-domain.com,www.your-domain.com
# Database
# Database URL (Option 1)
DATABASE_URL=
# Database (Option 2)
DB_NAME=
DB_USER=
DB_PASSWORD=