Thin CONTENT_ROOT content plane (ADR-0003/0004) with space visual field, product UI for Title/Abstract/Visual, page list sidebar, and tests. Update capability model and smoke checklist; mark WP-0006 finished.
28 lines
665 B
Python
28 lines
665 B
Python
from pathlib import Path
|
|
|
|
from .base import * # noqa: F403
|
|
|
|
DEBUG = False
|
|
SECRET_KEY = "test-secret-key"
|
|
PASSWORD_HASHERS = ["django.contrib.auth.hashers.MD5PasswordHasher"]
|
|
|
|
DATABASES = {
|
|
"default": {
|
|
"ENGINE": "django.db.backends.sqlite3",
|
|
"NAME": ":memory:",
|
|
}
|
|
}
|
|
|
|
OIDC_ENABLED = False
|
|
USER_ENGINE_BASE_URL = ""
|
|
FLEX_AUTH_BASE_URL = ""
|
|
|
|
# Isolate content plane from developer var/ trees during tests
|
|
CONTENT_ROOT = str(Path(BASE_DIR) / "var" / "test-content") # noqa: F405
|
|
|
|
# Whitenoise manifest not required in tests
|
|
STORAGES = {
|
|
"staticfiles": {
|
|
"BACKEND": "django.contrib.staticfiles.storage.StaticFilesStorage",
|
|
},
|
|
}
|