add "gone" field to LocalPerson

tombstones
Marnanel Thurman 2020-10-29 01:53:01 +00:00
rodzic 63aba5e743
commit d044415053
2 zmienionych plików z 23 dodań i 0 usunięć

Wyświetl plik

@ -0,0 +1,18 @@
# Generated by Django 3.0.9 on 2020-10-29 01:25
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('trilby_api', '0026_auto_20201019_1524'),
]
operations = [
migrations.AddField(
model_name='localperson',
name='gone',
field=models.BooleanField(default=False, help_text='If True, the user has gone away.'),
),
]

Wyświetl plik

@ -399,6 +399,11 @@ class LocalPerson(Person):
default = False,
)
gone = models.BooleanField(
help_text = "If True, the user has gone away.",
default = False,
)
featured = models.ForeignKey(
'Status',
on_delete = models.DO_NOTHING,