root: add Channels Message Storage and consumer

This commit is contained in:
Jens Langhammer
2020-11-26 17:08:26 +01:00
parent 7efed56acc
commit 9c00c86e9b
5 changed files with 62 additions and 1 deletions

View File

@ -177,6 +177,8 @@ SESSION_ENGINE = "django.contrib.sessions.backends.cache"
SESSION_CACHE_ALIAS = "default"
SESSION_COOKIE_SAMESITE = "lax"
MESSAGE_STORAGE = "passbook.root.messages.storage.ChannelsStorage"
MIDDLEWARE = [
"django_prometheus.middleware.PrometheusBeforeMiddleware",
"django.contrib.sessions.middleware.SessionMiddleware",