Test update status via inbox
This commit is contained in:
parent
4002df04fc
commit
20cca69f06
2 changed files with 39 additions and 24 deletions
|
@ -69,8 +69,9 @@ class Update(Verb):
|
|||
|
||||
def action(self):
|
||||
"""update a model instance from the dataclass"""
|
||||
if self.object:
|
||||
self.object.to_model(allow_create=False)
|
||||
if not self.object:
|
||||
return
|
||||
self.object.to_model(allow_create=False)
|
||||
|
||||
|
||||
@dataclass(init=False)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue