Adds cw field

This commit is contained in:
Mouse Reeve
2020-12-16 19:20:15 -08:00
parent 33c2f6c3b2
commit b796686483
2 changed files with 20 additions and 1 deletions

View File

@ -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