Status updates for shelving actions

This commit is contained in:
Mouse Reeve
2020-02-16 18:45:25 -08:00
parent f28ee934fc
commit 4eeb842350
6 changed files with 50 additions and 50 deletions

View File

@ -8,6 +8,8 @@ class Status(models.Model):
''' any post, like a reply to a review, etc '''
user = models.ForeignKey('User', on_delete=models.PROTECT)
status_type = models.CharField(max_length=255, default='Note')
mention_users = models.ManyToManyField('User', related_name='mention_user')
mention_books = models.ManyToManyField('Book', related_name='mention_book')
activity_type = models.CharField(max_length=255, default='Note')
local = models.BooleanField(default=True)
privacy = models.CharField(max_length=255, default='public')