diff --git a/evenementiel/settings/common.py b/evenementiel/settings/common.py index 706b117..6644bab 100644 --- a/evenementiel/settings/common.py +++ b/evenementiel/settings/common.py @@ -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