Ajoute l'inscription à ses résultats du tirage

This commit is contained in:
Martin Pépin 2016-07-16 01:51:20 +02:00
parent 7b32edbd38
commit 0887cf824d
4 changed files with 24 additions and 14 deletions

View file

@ -21,7 +21,8 @@ class Migration(migrations.Migration):
auto_created=True, primary_key=True)),
('token', models.UUIDField()),
('subscribe_to_events', models.BooleanField(default=True)),
('shows', models.ManyToManyField(to='bda.Spectacle')),
('subscribe_to_my_shows', models.BooleanField(default=True)),
('other_shows', models.ManyToManyField(to='bda.Spectacle')),
('user', models.OneToOneField(to=settings.AUTH_USER_MODEL)),
],
),
@ -43,8 +44,7 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='event',
name='start_date',
field=models.DateTimeField(null=True,
verbose_name=b'Date de d\xc3\xa9but',
blank=True),
field=models.DateTimeField(
null=True, verbose_name=b'Date de d\xc3\xa9but', blank=True),
),
]