2016-09-04 13:14:26 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
2018-10-06 12:35:49 +02:00
|
|
|
from django.db import migrations, models
|
2016-09-04 13:14:26 +02:00
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
2018-10-06 12:35:49 +02:00
|
|
|
dependencies = [("bda", "0007_extends_spectacle")]
|
2016-09-04 13:14:26 +02:00
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.AlterField(
|
2018-10-06 12:35:49 +02:00
|
|
|
model_name="choixspectacle",
|
|
|
|
name="double_choice",
|
2016-09-04 13:14:26 +02:00
|
|
|
field=models.CharField(
|
2018-10-06 12:35:49 +02:00
|
|
|
verbose_name="Nombre de places",
|
|
|
|
choices=[
|
|
|
|
("1", "1 place"),
|
|
|
|
("autoquit", "2 places si possible, 1 sinon"),
|
|
|
|
("double", "2 places sinon rien"),
|
|
|
|
],
|
|
|
|
max_length=10,
|
|
|
|
default="1",
|
|
|
|
),
|
2016-09-04 13:14:26 +02:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2018-10-06 12:35:49 +02:00
|
|
|
model_name="participant",
|
|
|
|
name="paymenttype",
|
2016-09-04 13:14:26 +02:00
|
|
|
field=models.CharField(
|
|
|
|
blank=True,
|
2018-10-06 12:35:49 +02:00
|
|
|
choices=[
|
|
|
|
("cash", "Cash"),
|
|
|
|
("cb", "CB"),
|
|
|
|
("cheque", "Chèque"),
|
|
|
|
("autre", "Autre"),
|
|
|
|
],
|
|
|
|
max_length=6,
|
|
|
|
verbose_name="Moyen de paiement",
|
|
|
|
),
|
2016-09-04 13:14:26 +02:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2018-10-06 12:35:49 +02:00
|
|
|
model_name="salle",
|
|
|
|
name="address",
|
|
|
|
field=models.TextField(verbose_name="Adresse"),
|
2016-09-04 13:14:26 +02:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2018-10-06 12:35:49 +02:00
|
|
|
model_name="salle",
|
|
|
|
name="name",
|
|
|
|
field=models.CharField(verbose_name="Nom", max_length=300),
|
2016-09-04 13:14:26 +02:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2018-10-06 12:35:49 +02:00
|
|
|
model_name="spectacle",
|
|
|
|
name="date",
|
|
|
|
field=models.DateTimeField(verbose_name="Date & heure"),
|
2016-09-04 13:14:26 +02:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2018-10-06 12:35:49 +02:00
|
|
|
model_name="spectacle",
|
|
|
|
name="description",
|
|
|
|
field=models.TextField(verbose_name="Description", blank=True),
|
2016-09-04 13:14:26 +02:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2018-10-06 12:35:49 +02:00
|
|
|
model_name="spectacle",
|
|
|
|
name="listing",
|
|
|
|
field=models.BooleanField(verbose_name="Les places sont sur listing"),
|
2016-09-04 13:14:26 +02:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2018-10-06 12:35:49 +02:00
|
|
|
model_name="spectacle",
|
|
|
|
name="price",
|
2016-09-04 13:14:26 +02:00
|
|
|
field=models.FloatField(verbose_name="Prix d'une place"),
|
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2018-10-06 12:35:49 +02:00
|
|
|
model_name="spectacle",
|
|
|
|
name="slots",
|
|
|
|
field=models.IntegerField(verbose_name="Places"),
|
2016-09-04 13:14:26 +02:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2018-10-06 12:35:49 +02:00
|
|
|
model_name="spectacle",
|
|
|
|
name="slots_description",
|
|
|
|
field=models.TextField(verbose_name="Description des places", blank=True),
|
2016-09-04 13:14:26 +02:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2018-10-06 12:35:49 +02:00
|
|
|
model_name="spectacle",
|
|
|
|
name="title",
|
|
|
|
field=models.CharField(verbose_name="Titre", max_length=300),
|
2016-09-04 13:14:26 +02:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2018-10-06 12:35:49 +02:00
|
|
|
model_name="tirage",
|
|
|
|
name="active",
|
|
|
|
field=models.BooleanField(verbose_name="Tirage actif", default=False),
|
2016-09-04 13:14:26 +02:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2018-10-06 12:35:49 +02:00
|
|
|
model_name="tirage",
|
|
|
|
name="fermeture",
|
2016-09-04 13:14:26 +02:00
|
|
|
field=models.DateTimeField(
|
2018-10-06 12:35:49 +02:00
|
|
|
verbose_name="Date et heure de fermerture du tirage"
|
|
|
|
),
|
2016-09-04 13:14:26 +02:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2018-10-06 12:35:49 +02:00
|
|
|
model_name="tirage",
|
|
|
|
name="ouverture",
|
2016-09-04 13:14:26 +02:00
|
|
|
field=models.DateTimeField(
|
2018-10-06 12:35:49 +02:00
|
|
|
verbose_name="Date et heure d'ouverture du tirage"
|
|
|
|
),
|
2016-09-04 13:14:26 +02:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2018-10-06 12:35:49 +02:00
|
|
|
model_name="tirage",
|
|
|
|
name="title",
|
|
|
|
field=models.CharField(verbose_name="Titre", max_length=300),
|
2016-09-04 13:14:26 +02:00
|
|
|
),
|
|
|
|
]
|