forked from DGNum/gestioCOF
Merge branch 'Aufinal/bda_revente' of https://git.eleves.ens.fr/cof-geek/gestioCOF into Aufinal/bda_revente
This commit is contained in:
commit
0f01c33267
|
@ -15,11 +15,17 @@ class Migration(migrations.Migration):
|
||||||
migrations.CreateModel(
|
migrations.CreateModel(
|
||||||
name='SpectacleRevente',
|
name='SpectacleRevente',
|
||||||
fields=[
|
fields=[
|
||||||
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
|
('id', models.AutoField(verbose_name='ID', serialize=False,
|
||||||
('date', models.DateTimeField(default=django.utils.timezone.now, verbose_name='Date de mise en vente')),
|
auto_created=True, primary_key=True)),
|
||||||
('notif_sent', models.BooleanField(default=False, verbose_name='Notification envoy\xe9e')),
|
('date', models.DateTimeField(
|
||||||
('tirage_done', models.BooleanField(default=False, verbose_name='Tirage effectu\xe9')),
|
default=django.utils.timezone.now,
|
||||||
('attribution', models.OneToOneField(related_name='revente', to='bda.Attribution')),
|
verbose_name='Date de mise en vente')),
|
||||||
|
('notif_sent', models.BooleanField(
|
||||||
|
default=False, verbose_name='Notification envoy\xe9e')),
|
||||||
|
('tirage_done', models.BooleanField(
|
||||||
|
default=False, verbose_name='Tirage effectu\xe9')),
|
||||||
|
('attribution', models.OneToOneField(related_name='revente',
|
||||||
|
to='bda.Attribution')),
|
||||||
],
|
],
|
||||||
options={
|
options={
|
||||||
'verbose_name': 'Revente',
|
'verbose_name': 'Revente',
|
||||||
|
@ -28,21 +34,26 @@ class Migration(migrations.Migration):
|
||||||
migrations.AddField(
|
migrations.AddField(
|
||||||
model_name='participant',
|
model_name='participant',
|
||||||
name='choicesrevente',
|
name='choicesrevente',
|
||||||
field=models.ManyToManyField(related_name='revente', to='bda.Spectacle', blank=True),
|
field=models.ManyToManyField(related_name='revente',
|
||||||
|
to='bda.Spectacle', blank=True),
|
||||||
),
|
),
|
||||||
migrations.AddField(
|
migrations.AddField(
|
||||||
model_name='spectaclerevente',
|
model_name='spectaclerevente',
|
||||||
name='interested',
|
name='interested',
|
||||||
field=models.ManyToManyField(related_name='wanted', to='bda.Participant', blank=True),
|
field=models.ManyToManyField(related_name='wanted',
|
||||||
|
to='bda.Participant', blank=True),
|
||||||
),
|
),
|
||||||
migrations.AddField(
|
migrations.AddField(
|
||||||
model_name='spectaclerevente',
|
model_name='spectaclerevente',
|
||||||
name='seller',
|
name='seller',
|
||||||
field=models.ForeignKey(related_name='original_shows', verbose_name='Vendeur', to='bda.Participant'),
|
field=models.ForeignKey(related_name='original_shows',
|
||||||
|
verbose_name='Vendeur',
|
||||||
|
to='bda.Participant'),
|
||||||
),
|
),
|
||||||
migrations.AddField(
|
migrations.AddField(
|
||||||
model_name='spectaclerevente',
|
model_name='spectaclerevente',
|
||||||
name='soldTo',
|
name='soldTo',
|
||||||
field=models.ForeignKey(verbose_name='Vendue \xe0', blank=True, to='bda.Participant', null=True),
|
field=models.ForeignKey(verbose_name='Vendue \xe0', blank=True,
|
||||||
|
to='bda.Participant', null=True),
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue