Allow users to set privacy on imported reviews
or not import them at all. Fixes #252
This commit is contained in:
parent
45f39fab48
commit
0b0de12968
8 changed files with 77 additions and 18 deletions
|
@ -14,6 +14,14 @@ from django.dispatch import receiver
|
|||
from bookwyrm import activitypub
|
||||
from bookwyrm.settings import DOMAIN
|
||||
|
||||
|
||||
PrivacyLevels = models.TextChoices('Privacy', [
|
||||
'public',
|
||||
'unlisted',
|
||||
'followers',
|
||||
'direct'
|
||||
])
|
||||
|
||||
class BookWyrmModel(models.Model):
|
||||
''' shared fields '''
|
||||
created_date = models.DateTimeField(auto_now_add=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue