2016-07-15 01:06:33 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
from django.db import migrations, models
|
|
|
|
from django.conf import settings
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
('bda', '0004_mails-rappel'),
|
|
|
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
|
|
|
('gestioncof', '0004_registration_mail'),
|
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
|
|
|
name='CalendarSubscription',
|
|
|
|
fields=[
|
2016-07-15 23:31:26 +02:00
|
|
|
('id', models.AutoField(verbose_name='ID', serialize=False,
|
|
|
|
auto_created=True, primary_key=True)),
|
|
|
|
('token', models.UUIDField()),
|
2016-07-15 02:49:56 +02:00
|
|
|
('subscribe_to_events', models.BooleanField(default=True)),
|
2016-07-16 01:51:20 +02:00
|
|
|
('subscribe_to_my_shows', models.BooleanField(default=True)),
|
|
|
|
('other_shows', models.ManyToManyField(to='bda.Spectacle')),
|
2016-07-15 02:49:56 +02:00
|
|
|
('user', models.OneToOneField(to=settings.AUTH_USER_MODEL)),
|
2016-07-15 01:06:33 +02:00
|
|
|
],
|
|
|
|
),
|
2016-07-15 02:49:56 +02:00
|
|
|
migrations.AlterModelOptions(
|
|
|
|
name='custommail',
|
2016-07-15 23:31:26 +02:00
|
|
|
options={'verbose_name': 'Mail personnalisable',
|
|
|
|
'verbose_name_plural': 'Mails personnalisables'},
|
2016-07-15 02:49:56 +02:00
|
|
|
),
|
|
|
|
migrations.AlterModelOptions(
|
|
|
|
name='eventoptionchoice',
|
|
|
|
options={'verbose_name': 'Choix', 'verbose_name_plural': 'Choix'},
|
|
|
|
),
|
2016-07-15 01:06:33 +02:00
|
|
|
migrations.AlterField(
|
|
|
|
model_name='event',
|
|
|
|
name='end_date',
|
2016-07-15 23:31:26 +02:00
|
|
|
field=models.DateTimeField(null=True, verbose_name=b'Date de fin',
|
|
|
|
blank=True),
|
2016-07-15 01:06:33 +02:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
|
|
|
model_name='event',
|
|
|
|
name='start_date',
|
2016-07-16 01:51:20 +02:00
|
|
|
field=models.DateTimeField(
|
|
|
|
null=True, verbose_name=b'Date de d\xc3\xa9but', blank=True),
|
2016-07-15 01:06:33 +02:00
|
|
|
),
|
|
|
|
]
|