Add mixins and adjust database path
This commit is contained in:
parent
330cc6c401
commit
115c6dd1ad
|
@ -43,6 +43,7 @@ INSTALLED_APPS = [
|
||||||
"django_tables2",
|
"django_tables2",
|
||||||
"django_tables2_bulma_template",
|
"django_tables2_bulma_template",
|
||||||
"prettyjson",
|
"prettyjson",
|
||||||
|
"mixins",
|
||||||
]
|
]
|
||||||
CRISPY_TEMPLATE_PACK = "bulma"
|
CRISPY_TEMPLATE_PACK = "bulma"
|
||||||
CRISPY_ALLOWED_TEMPLATE_PACKS = ("bulma",)
|
CRISPY_ALLOWED_TEMPLATE_PACKS = ("bulma",)
|
||||||
|
@ -87,7 +88,7 @@ WSGI_APPLICATION = "app.wsgi.application"
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
"default": {
|
"default": {
|
||||||
"ENGINE": "django.db.backends.sqlite3",
|
"ENGINE": "django.db.backends.sqlite3",
|
||||||
"NAME": BASE_DIR / "db.sqlite3",
|
"NAME": "/conf/db.sqlite3",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ services:
|
||||||
- ${PORTAINER_GIT_DIR}:/code
|
- ${PORTAINER_GIT_DIR}:/code
|
||||||
- ${PORTAINER_GIT_DIR}/docker/uwsgi.ini:/conf/uwsgi.ini
|
- ${PORTAINER_GIT_DIR}/docker/uwsgi.ini:/conf/uwsgi.ini
|
||||||
- ${APP_LOCAL_SETTINGS}:/code/app/local_settings.py
|
- ${APP_LOCAL_SETTINGS}:/code/app/local_settings.py
|
||||||
- ${APP_DATABASE_FILE}:/code/db.sqlite3
|
- ${APP_DATABASE_FILE}:/conf/db.sqlite3
|
||||||
- neptune_static:${STATIC_ROOT}
|
- neptune_static:${STATIC_ROOT}
|
||||||
env_file:
|
env_file:
|
||||||
- stack.env
|
- stack.env
|
||||||
|
|
|
@ -21,3 +21,4 @@ orjson
|
||||||
msgpack
|
msgpack
|
||||||
apscheduler
|
apscheduler
|
||||||
django-prettyjson
|
django-prettyjson
|
||||||
|
git+https://git.zm.is/XF/django-crud-mixins
|
||||||
|
|
Loading…
Reference in New Issue