mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 07:59:17 +02:00
See #170: use new content obj for channel description
This commit is contained in:
parent
e6f8b6e406
commit
cfc88847a6
7 changed files with 62 additions and 21 deletions
|
@ -305,3 +305,4 @@ def attach_content(obj, field, content_data):
|
|||
)
|
||||
setattr(obj, field, content_obj)
|
||||
obj.save(update_fields=[field])
|
||||
return content_obj
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue