Framework support
Dotvault for Django
Dotvault for Django projects.
Django projects typically manage secrets through environment variables — SECRET_KEY, DATABASE_URL, the lot. Whether you're using python-dotenv, django-environ, or just os.environ, Dotvault gives you a visual editor that understands the conventions.
What you get
- → Detects Django from requirements.txt or pyproject.toml.
- → Recognises common Django env vars.
- → Snapshot, diff, and multi-environment comparison.
Known environment variables
Dotvault recognises these variables when you open a Django project and surfaces helpful descriptions and warnings in the editor. Django is detected via `django` in requirements.txt or pyproject.toml.
-
DJANGO_SECRET_KEYRequiredDjango secret key
-
SECRET_KEYRequiredDjango secret key (alternate)
-
DJANGO_SETTINGS_MODULEPython path to settings module
-
DEBUGRequiredDebug mode toggle
-
ALLOWED_HOSTSComma-separated allowed host names
-
DATABASE_URLDatabase connection URL (dj-database-url)
-
DJANGO_LOG_LEVELLog level
-
STATIC_URLStatic files URL prefix
-
STATIC_ROOTAbsolute path for collectstatic output
-
MEDIA_URLMedia files URL prefix
-
MEDIA_ROOTAbsolute path for user-uploaded files
-
CSRF_TRUSTED_ORIGINSTrusted origins for CSRF validation
-
TIME_ZONEApplication timezone
-
LANGUAGE_CODEDefault language code
-
EMAIL_BACKENDEmail backend class
-
EMAIL_HOSTSMTP host
-
EMAIL_PORTSMTP port
-
EMAIL_HOST_USERSMTP username
-
EMAIL_HOST_PASSWORDSMTP password
-
EMAIL_USE_TLSUse TLS for SMTP
-
EMAIL_USE_SSLUse SSL for SMTP
-
DEFAULT_FROM_EMAILDefault from email address
-
REDIS_URLRedis connection URL for caching/channels
Official Django docs: docs.djangoproject.com