ignore redis & channels for the time being
This commit is contained in:
parent
0c32b05a48
commit
e6c0a0697e
1 changed files with 14 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue