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_KEY Required

    Django secret key

  • SECRET_KEY Required

    Django secret key (alternate)

  • DJANGO_SETTINGS_MODULE

    Python path to settings module

  • DEBUG Required

    Debug mode toggle

  • ALLOWED_HOSTS

    Comma-separated allowed host names

  • DATABASE_URL

    Database connection URL (dj-database-url)

  • DJANGO_LOG_LEVEL

    Log level

  • STATIC_URL

    Static files URL prefix

  • STATIC_ROOT

    Absolute path for collectstatic output

  • MEDIA_URL

    Media files URL prefix

  • MEDIA_ROOT

    Absolute path for user-uploaded files

  • CSRF_TRUSTED_ORIGINS

    Trusted origins for CSRF validation

  • TIME_ZONE

    Application timezone

  • LANGUAGE_CODE

    Default language code

  • EMAIL_BACKEND

    Email backend class

  • EMAIL_HOST

    SMTP host

  • EMAIL_PORT

    SMTP port

  • EMAIL_HOST_USER

    SMTP username

  • EMAIL_HOST_PASSWORD

    SMTP password

  • EMAIL_USE_TLS

    Use TLS for SMTP

  • EMAIL_USE_SSL

    Use SSL for SMTP

  • DEFAULT_FROM_EMAIL

    Default from email address

  • REDIS_URL

    Redis connection URL for caching/channels

Official Django docs: docs.djangoproject.com