handles list privacy in display

This commit is contained in:
Mouse Reeve
2021-01-31 08:41:11 -08:00
parent 69c2b192a4
commit d73a1b4ec1
7 changed files with 79 additions and 58 deletions

View File

@ -1,4 +1,4 @@
# Generated by Django 3.0.7 on 2021-01-31 05:00
# Generated by Django 3.0.7 on 2021-01-31 16:14
import bookwyrm.models.base_model
import bookwyrm.models.fields
@ -24,7 +24,7 @@ class Migration(migrations.Migration):
('name', bookwyrm.models.fields.CharField(max_length=100)),
('description', bookwyrm.models.fields.TextField(blank=True, null=True)),
('privacy', bookwyrm.models.fields.CharField(choices=[('public', 'Public'), ('unlisted', 'Unlisted'), ('followers', 'Followers'), ('direct', 'Direct')], default='public', max_length=255)),
('curation', bookwyrm.models.fields.CharField(choices=[('closed', 'Closed'), ('open', 'Open'), ('moderated', 'Moderated')], default='closed', max_length=255)),
('curation', bookwyrm.models.fields.CharField(choices=[('closed', 'Closed'), ('open', 'Open'), ('curated', 'Curated')], default='closed', max_length=255)),
],
options={
'abstract': False,