Separate update editon and work functions
This commit is contained in:
parent
2ef4df41b4
commit
ee2121095c
3 changed files with 58 additions and 3 deletions
|
@ -237,6 +237,8 @@ class ManyToManyField(ActivitypubFieldMixin, models.ManyToManyField):
|
|||
|
||||
def field_from_activity(self, value):
|
||||
items = []
|
||||
if value is None or value is MISSING:
|
||||
return []
|
||||
for remote_id in value:
|
||||
try:
|
||||
validate_remote_id(remote_id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue