Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
feudal
feudalBackend
Commits
35dce7ee
Commit
35dce7ee
authored
Dec 04, 2018
by
Lukas Burgey
Browse files
Remove some obsolete publishings
parent
a0aa6bfd
Changes
1
Hide whitespace changes
Inline
Side-by-side
feudal/backend/models/deployments.py
View file @
35dce7ee
...
...
@@ -159,13 +159,15 @@ class Deployment(PolymorphicModel):
for
item
in
self
.
states
.
all
():
item
.
user_credential_added
(
key
)
self
.
publish
()
if
self
.
state_target
==
DEPLOYED
:
self
.
publish
()
def
user_credential_removed
(
self
,
key
):
for
item
in
self
.
states
.
all
():
item
.
user_credential_removed
(
key
)
self
.
publish
()
if
self
.
state_target
==
DEPLOYED
:
self
.
publish
()
def
publish_to_client
(
self
):
if
settings
.
DEBUG_PUBLISHING
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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