Adds cw field
This commit is contained in:
parent
33c2f6c3b2
commit
b796686483
2 changed files with 20 additions and 1 deletions
|
@ -19,7 +19,7 @@ class Status(OrderedCollectionPageMixin, BookWyrmModel):
|
|||
mention_books = fields.TagField('Edition', related_name='mention_book')
|
||||
local = models.BooleanField(default=True)
|
||||
content_warning = fields.CharField(
|
||||
max_length=150, blank=True, null=True, activitypub_field='summary')
|
||||
max_length=500, blank=True, null=True, activitypub_field='summary')
|
||||
privacy = fields.PrivacyField(max_length=255)
|
||||
sensitive = fields.BooleanField(default=False)
|
||||
# created date is different than publish date because of federated posts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue