Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
R
red-ci-cd
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
red-group-test
red-ci-cd
Commits
9be052b2
Commit
9be052b2
authored
Jan 21, 2020
by
Gladys Forte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update settings channel layer hosts
parent
10632f9a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
app/applicationlayer/cms/form/header/views.py
app/applicationlayer/cms/form/header/views.py
+1
-1
config/settings/demo.py
config/settings/demo.py
+2
-2
config/settings/staging.py
config/settings/staging.py
+2
-2
No files found.
app/applicationlayer/cms/form/header/views.py
View file @
9be052b2
...
@@ -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
...
...
config/settings/demo.py
View file @
9be052b2
...
@@ -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)],
},
},
},
},
}
}
...
...
config/settings/staging.py
View file @
9be052b2
...
@@ -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)],
},
},
},
},
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment