Skip to content

Setttings

ADMIN_EMAIL

Default: ``

Initial user created at first deploy

Suggested value for development: admin

ADMIN_PASSWORD

Default: ``

Password for initial user created at first deploy

ALLOWED_HOSTS

Default: []

@see https://docs.djangoproject.com/en/5.0/ref/settings#allowed-hosts

Suggested value for development: ['127.0.0.1', 'localhost']

AUTHENTICATION_BACKENDS

Default: []

Extra authentications backends enabled to add. Es. country_workspace.security.backends.AnyUserAuthBackend

CACHE_URL

Default: ``

@see https://docs.djangoproject.com/en/5.0/ref/settings#cache-url

Suggested value for development: redis://localhost:6379/0

CELERY_BROKER_URL

Default: ``

https://docs.celeryq.dev/en/stable/django/first-steps-with-django.html

CELERY_TASK_ALWAYS_EAGER

Default: False

@see https://docs.celeryq.dev/en/stable/userguide/configuration.html##std-setting-task_always_eager

Suggested value for development: True

CELERY_TASK_EAGER_PROPAGATES

Default: True

@see https://docs.celeryq.dev/en/stable/userguide/configuration.html##task-eager-propagates

Suggested value for development: True

CELERY_VISIBILITY_TIMEOUT

Default: 1800

@see https://docs.celeryq.dev/en/stable/userguide/configuration.html##broker-transport-options

Suggested value for development: 1800

Default: True

@see https://docs.djangoproject.com/en/5.0/ref/settings#csrf-cookie-secure

CSRF_TRUSTED_ORIGINS

Default: localhost

DATABASE_URL

Default: <NoValue>

https://django-environ.readthedocs.io/en/latest/types.html#environ-env-db-url

Suggested value for development: <NoValue>

DEBUG

Default: False

@see https://docs.djangoproject.com/en/5.0/ref/settings#debug

Suggested value for development: True

EMAIL_HOST

Default: ``

@see https://docs.djangoproject.com/en/5.0/ref/settings#email-host

EMAIL_HOST_PASSWORD

Default: ``

@see https://docs.djangoproject.com/en/5.0/ref/settings#email-host-password

EMAIL_HOST_USER

Default: ``

@see https://docs.djangoproject.com/en/5.0/ref/settings#email-host-user

EMAIL_PORT

Default: 25

@see https://docs.djangoproject.com/en/5.0/ref/settings#email-port

Suggested value for development: 25

EMAIL_SUBJECT_PREFIX

Default: [Hope-cw]

@see https://docs.djangoproject.com/en/5.0/ref/settings#email-subject-prefix

Suggested value for development: [Hope-ce]

EMAIL_TIMEOUT

Default: None

@see https://docs.djangoproject.com/en/5.0/ref/settings#email-timeout

EMAIL_USE_LOCALTIME

Default: False

@see https://docs.djangoproject.com/en/5.0/ref/settings#email-use-localtime

EMAIL_USE_SSL

Default: False

@see https://docs.djangoproject.com/en/5.0/ref/settings#email-use-ssl

EMAIL_USE_TLS

Default: False

@see https://docs.djangoproject.com/en/5.0/ref/settings#email-use-tls

FILE_STORAGE_DEFAULT

Default: django.core.files.storage.FileSystemStorage

Suggested value for development: @see https://docs.djangoproject.com/en/5.0/ref/settings#storages

FILE_STORAGE_MEDIA

Default: django.core.files.storage.FileSystemStorage

Suggested value for development: @see https://docs.djangoproject.com/en/5.0/ref/settings#storages

FILE_STORAGE_STATIC

Default: django.contrib.staticfiles.storage.StaticFilesStorage

Suggested value for development: @see https://docs.djangoproject.com/en/5.0/ref/settings#storages

HOPE_API_TOKEN

Default: ``

Hope API token

LOGGING_LEVEL

Default: CRITICAL

@see https://docs.djangoproject.com/en/5.0/ref/settings#logging-level

Suggested value for development: DEBUG

MEDIA_ROOT

Default: /var/media/

@see https://docs.djangoproject.com/en/5.0/ref/settings#media-root

Suggested value for development: /tmp/media

MEDIA_URL

Default: /media/

@see https://docs.djangoproject.com/en/5.0/ref/settings#media-root

Suggested value for development: /media

ROOT_TOKEN

Default: ``

ROOT_TOKEN_HEADER

Default: x-root-token

Suggested value for development: x-root-token

SECRET_KEY

Default: ``

@see https://docs.djangoproject.com/en/5.0/ref/settings#secret-key

Suggested value for development: super_secret_key_just_for_testing

SENTRY_DSN

Default: ``

Sentry DSN

SENTRY_ENVIRONMENT

Default: production

Sentry Environment

Suggested value for development: develop

SENTRY_URL

Default: ``

Sentry server url

SOCIAL_AUTH_LOGIN_URL

Default: /login/

SOCIAL_AUTH_RAISE_EXCEPTIONS

Default: False

Suggested value for development: True

SOCIAL_AUTH_REDIRECT_IS_HTTPS

Default: True

STATIC_ROOT

Default: /var/static

@see https://docs.djangoproject.com/en/5.0/ref/settings#static-root

Suggested value for development: /tmp/static

STATIC_URL

Default: /static/

@see https://docs.djangoproject.com/en/5.0/ref/settings#static-url

Suggested value for development: /static/

SUPERUSERS

Default: []

"list of emails/or usernames that will automatically granted superusers privileges ONLY the first time they are created. This is designed to be used in dev/qa environments deployed by CI, where database can be empty.

TIME_ZONE

Default: UTC

@see https://docs.djangoproject.com/en/5.0/ref/settings#std-setting-TIME_ZONE

Suggested value for development: UTC