|
|
|
@ -45,6 +45,20 @@ INSTALLED_APPS = [
|
|
|
|
|
"prettyjson",
|
|
|
|
|
"mixins",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
# Performance optimisations
|
|
|
|
|
CACHES = {
|
|
|
|
|
"default": {
|
|
|
|
|
"BACKEND": "django.core.cache.backends.redis.RedisCache",
|
|
|
|
|
"LOCATION": "unix:///var/run/socks/redis.sock",
|
|
|
|
|
"OPTIONS": {
|
|
|
|
|
"db": "10",
|
|
|
|
|
"parser_class": "redis.connection.PythonParser",
|
|
|
|
|
"pool_class": "redis.BlockingConnectionPool",
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
CRISPY_TEMPLATE_PACK = "bulma"
|
|
|
|
|
CRISPY_ALLOWED_TEMPLATE_PACKS = ("bulma",)
|
|
|
|
|
DJANGO_TABLES2_TEMPLATE = "django-tables2/bulma.html"
|
|
|
|
|