Added privacy level for user

This commit is contained in:
Eliot Berriot 2018-03-01 20:36:29 +01:00
parent 691665e3cf
commit fd7c1e5dd8
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,18 @@
# Generated by Django 2.0.2 on 2018-03-01 19:30
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('users', '0003_auto_20171226_1357'),
]
operations = [
migrations.AddField(
model_name='user',
name='privacy_level',
field=models.CharField(choices=[('me', 'Only me'), ('followers', 'Me and my followers'), ('instance', 'Everyone on my instance, and my followers'), ('everyone', 'Everyone, including people on other instances')], default='instance', max_length=30),
),
]