Add mixins and adjust database path

This commit is contained in:
Mark Veidemanis 2023-02-10 20:53:11 +00:00
parent 330cc6c401
commit 115c6dd1ad
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
3 changed files with 4 additions and 2 deletions

View File

@ -43,6 +43,7 @@ INSTALLED_APPS = [
"django_tables2",
"django_tables2_bulma_template",
"prettyjson",
"mixins",
]
CRISPY_TEMPLATE_PACK = "bulma"
CRISPY_ALLOWED_TEMPLATE_PACKS = ("bulma",)
@ -87,7 +88,7 @@ WSGI_APPLICATION = "app.wsgi.application"
DATABASES = {
"default": {
"ENGINE": "django.db.backends.sqlite3",
"NAME": BASE_DIR / "db.sqlite3",
"NAME": "/conf/db.sqlite3",
}
}

View File

@ -12,7 +12,7 @@ services:
- ${PORTAINER_GIT_DIR}:/code
- ${PORTAINER_GIT_DIR}/docker/uwsgi.ini:/conf/uwsgi.ini
- ${APP_LOCAL_SETTINGS}:/code/app/local_settings.py
- ${APP_DATABASE_FILE}:/code/db.sqlite3
- ${APP_DATABASE_FILE}:/conf/db.sqlite3
- neptune_static:${STATIC_ROOT}
env_file:
- stack.env

View File

@ -21,3 +21,4 @@ orjson
msgpack
apscheduler
django-prettyjson
git+https://git.zm.is/XF/django-crud-mixins