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