Adds alt text to status images
This commit is contained in:
parent
45a0bd79fd
commit
ff5a0f7bc2
5 changed files with 7 additions and 4 deletions
|
@ -159,6 +159,7 @@ class Attachment(BookWyrmModel):
|
|||
related_name='attachments'
|
||||
)
|
||||
image = models.ImageField(upload_to='status/', null=True, blank=True)
|
||||
caption = models.TextField(null=True, blank=True)
|
||||
|
||||
|
||||
class GeneratedNote(Status):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue