Rename Image to Document

This commit is contained in:
Mouse Reeve
2021-04-15 16:35:04 -07:00
parent 2f493336ad
commit 220fb926c9
7 changed files with 10 additions and 10 deletions

View File

@ -33,4 +33,4 @@ class Image(Attachment):
)
caption = fields.TextField(null=True, blank=True, activitypub_field="name")
activity_serializer = activitypub.Image
activity_serializer = activitypub.Document