Commit 9be052b2 authored by Gladys Forte's avatar Gladys Forte

update settings channel layer hosts

parent 10632f9a
...@@ -710,7 +710,7 @@ class ChangeRequestFormsViewset(viewsets.ModelViewSet): ...@@ -710,7 +710,7 @@ class ChangeRequestFormsViewset(viewsets.ModelViewSet):
new_instance = serializer.data new_instance = serializer.data
original_user = new_instance['user']['code'] original_user = new_instance['user']['code']
if original_user == current_user: if original_user == current_user:
data_update = { data_update = {
"on_behalf": None "on_behalf": None
......
...@@ -14,8 +14,8 @@ CHANNEL_LAYERS = { ...@@ -14,8 +14,8 @@ CHANNEL_LAYERS = {
'default': { 'default': {
'BACKEND': 'channels_redis.core.RedisChannelLayer', 'BACKEND': 'channels_redis.core.RedisChannelLayer',
'CONFIG': { 'CONFIG': {
# "hosts": [('172.17.0.1', 6379)], "hosts": [('172.17.0.1', 6379)],
"hosts": [('127.0.0.1', 6379)], # "hosts": [('127.0.0.1', 6379)],
}, },
}, },
} }
......
...@@ -13,8 +13,8 @@ CHANNEL_LAYERS = { ...@@ -13,8 +13,8 @@ CHANNEL_LAYERS = {
'default': { 'default': {
'BACKEND': 'channels_redis.core.RedisChannelLayer', 'BACKEND': 'channels_redis.core.RedisChannelLayer',
'CONFIG': { 'CONFIG': {
# "hosts": [('172.17.0.1', 6379)], "hosts": [('172.17.0.1', 6379)],
"hosts": [('127.0.0.1', 6379)], # "hosts": [('127.0.0.1', 6379)],
}, },
}, },
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment