kopia lustrzana https://gitlab.com/marnanel/chapeau
add "gone" field to LocalPerson
rodzic
63aba5e743
commit
d044415053
|
@ -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.'),
|
||||
),
|
||||
]
|
|
@ -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,
|
||||
|
|
Ładowanie…
Reference in New Issue