improve registration flows
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 5s
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 5s
This commit is contained in:
@@ -201,6 +201,14 @@ STATICFILES_DIRS = [
|
||||
MEDIA_URL = "/media/"
|
||||
MEDIA_ROOT = os.path.join(BASE_DIR, "media")
|
||||
|
||||
# Uploaded ID/passport photos live in a dedicated directory so it can be
|
||||
# bind-mounted as a persistent volume in production. Override with the
|
||||
# IDCARD_STORAGE_ROOT / IDCARD_STORAGE_URL env vars to point at the mount.
|
||||
IDCARD_STORAGE_ROOT = os.environ.get(
|
||||
"IDCARD_STORAGE_ROOT", os.path.join(BASE_DIR, "storage", "idcards")
|
||||
)
|
||||
IDCARD_STORAGE_URL = os.environ.get("IDCARD_STORAGE_URL", "/storage/idcards/")
|
||||
|
||||
STATICFILES_STORAGE = "whitenoise.storage.CompressedManifestStaticFilesStorage"
|
||||
# Default primary key field type
|
||||
# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field
|
||||
|
||||
Reference in New Issue
Block a user