handle image attachments recursively
This commit is contained in:
parent
2480690378
commit
4626d94ab9
7 changed files with 71 additions and 55 deletions
|
@ -11,7 +11,8 @@ class Attachment(ActivitypubMixin, BookWyrmModel):
|
|||
status = models.ForeignKey(
|
||||
'Status',
|
||||
on_delete=models.CASCADE,
|
||||
related_name='attachments'
|
||||
related_name='attachments',
|
||||
null=True
|
||||
)
|
||||
class Meta:
|
||||
''' one day we'll have other types of attachments besides images '''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue