Adds tests for many to many field deserialization
This commit is contained in:
parent
69bb3f2751
commit
4599df752d
2 changed files with 33 additions and 4 deletions
|
@ -152,7 +152,7 @@ class ManyToManyField(ActivitypubFieldMixin, models.ManyToManyField):
|
|||
try:
|
||||
validate_remote_id(remote_id)
|
||||
except ValidationError:
|
||||
return None
|
||||
continue
|
||||
items.append(
|
||||
activitypub.resolve_remote_id(self.related_model, remote_id)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue