small changes

This commit is contained in:
Jonas Winkler
2020-11-20 10:58:17 +01:00
parent 09aa91f738
commit 4a6b8ef138
3 changed files with 13 additions and 13 deletions

View File

@@ -143,6 +143,15 @@ TEMPLATES = [
},
]
CHANNEL_LAYERS = {
"default": {
"BACKEND": "channels_redis.core.RedisChannelLayer",
"CONFIG": {
"hosts": ["redis://localhost:6379"],
},
},
}
###############################################################################
# Security #
###############################################################################
@@ -376,12 +385,3 @@ for t in json.loads(os.getenv("PAPERLESS_FILENAME_PARSE_TRANSFORMS", "[]")):
# TODO: this should not have a prefix.
# Specify the filename format for out files
PAPERLESS_FILENAME_FORMAT = os.getenv("PAPERLESS_FILENAME_FORMAT")
CHANNEL_LAYERS = {
"default": {
"BACKEND": "channels_redis.core.RedisChannelLayer",
"CONFIG": {
"hosts": [("broker", 6379)],
},
},
}