ignore redis & channels for the time being

This commit is contained in:
Qwann 2018-08-06 09:45:14 +02:00
parent 0c32b05a48
commit e6c0a0697e

View file

@ -54,7 +54,7 @@ INSTALLED_APPS = [
'django.contrib.staticfiles',
'django.contrib.sites',
'channels',
# 'channels',
'rest_framework',
'bootstrapform',
'widget_tweaks',
@ -133,19 +133,19 @@ DATABASES = {
}
}
CHANNEL_LAYERS = {
"default": {
"BACKEND": "asgi_redis.RedisChannelLayer",
"CONFIG": {
"hosts": [(
"redis://:{passwd}@{host}:{port}/{db}"
.format(passwd=REDIS_PASSWD, host=REDIS_HOST,
port=REDIS_PORT, db=REDIS_DB)
)],
},
"ROUTING": "evenementiel.routing.channel_routing",
}
}
# CHANNEL_LAYERS = {
# "default": {
# "BACKEND": "asgi_redis.RedisChannelLayer",
# "CONFIG": {
# "hosts": [(
# "redis://:{passwd}@{host}:{port}/{db}"
# .format(passwd=REDIS_PASSWD, host=REDIS_HOST,
# port=REDIS_PORT, db=REDIS_DB)
# )],
# },
# "ROUTING": "evenementiel.routing.channel_routing",
# }
# }
# Password validation
# https://docs.djangoproject.com/en/1.9/ref/settings/#auth-password-validators