2020-09-10 15:06:53 +02:00
|
|
|
# Generated by Django 2.2.14 on 2020-09-08 22:22
|
|
|
|
|
|
|
|
import colorful.fields
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
2021-04-29 00:27:33 +02:00
|
|
|
("gestion", "0001_initial"),
|
2020-09-10 15:06:53 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
2021-04-29 00:27:33 +02:00
|
|
|
name="VideoGallery",
|
2020-09-10 15:06:53 +02:00
|
|
|
fields=[
|
2021-04-29 00:27:33 +02:00
|
|
|
(
|
|
|
|
"id",
|
|
|
|
models.AutoField(
|
|
|
|
auto_created=True,
|
|
|
|
primary_key=True,
|
|
|
|
serialize=False,
|
|
|
|
verbose_name="ID",
|
|
|
|
),
|
|
|
|
),
|
|
|
|
("name", models.CharField(max_length=127)),
|
|
|
|
("order", models.IntegerField(verbose_name="ordre")),
|
|
|
|
("url", models.URLField()),
|
2020-09-10 15:06:53 +02:00
|
|
|
],
|
|
|
|
options={
|
2021-04-29 00:27:33 +02:00
|
|
|
"verbose_name_plural": "Videos",
|
|
|
|
"verbose_name": "Video",
|
2020-09-10 15:06:53 +02:00
|
|
|
},
|
|
|
|
),
|
|
|
|
migrations.RemoveField(
|
2021-04-29 00:27:33 +02:00
|
|
|
model_name="ernestouser",
|
|
|
|
name="mails",
|
2020-09-10 15:06:53 +02:00
|
|
|
),
|
|
|
|
migrations.AddField(
|
2021-04-29 00:27:33 +02:00
|
|
|
model_name="ernestouser",
|
|
|
|
name="instru_autre",
|
|
|
|
field=models.CharField(
|
|
|
|
blank=True, max_length=100, null=True, verbose_name="Lequel ?"
|
|
|
|
),
|
2020-09-10 15:06:53 +02:00
|
|
|
),
|
|
|
|
migrations.AddField(
|
2021-04-29 00:27:33 +02:00
|
|
|
model_name="ernestouser",
|
|
|
|
name="instru_bonus",
|
|
|
|
field=models.CharField(
|
|
|
|
blank=True, max_length=100, null=True, verbose_name="Le·s·quel·s ?"
|
|
|
|
),
|
2020-09-10 15:06:53 +02:00
|
|
|
),
|
|
|
|
migrations.AddField(
|
2021-04-29 00:27:33 +02:00
|
|
|
model_name="ernestouser",
|
|
|
|
name="instru_trombonoscope",
|
|
|
|
field=models.CharField(
|
|
|
|
blank=True,
|
|
|
|
max_length=30,
|
|
|
|
verbose_name="Instrument affiché sur le trombonoscope",
|
|
|
|
),
|
2020-09-10 15:06:53 +02:00
|
|
|
),
|
|
|
|
migrations.AddField(
|
2021-04-29 00:27:33 +02:00
|
|
|
model_name="ernestouser",
|
|
|
|
name="multi_instrumentiste",
|
|
|
|
field=models.CharField(
|
|
|
|
choices=[("Non", "Non"), ("Oui", "Oui")],
|
|
|
|
default="Non",
|
|
|
|
help_text="Seulement si tu connais les partitions par coeur",
|
|
|
|
max_length=3,
|
|
|
|
verbose_name="Je suis capable de jouer d'un autre instrument en manche :",
|
|
|
|
),
|
2020-09-10 15:06:53 +02:00
|
|
|
),
|
|
|
|
migrations.AddField(
|
2021-04-29 00:27:33 +02:00
|
|
|
model_name="ernestouser",
|
|
|
|
name="nom_trombonoscope",
|
|
|
|
field=models.CharField(
|
|
|
|
blank=True,
|
|
|
|
max_length=30,
|
|
|
|
verbose_name="Nom affiché sur le trombonoscope",
|
|
|
|
),
|
2020-09-10 15:06:53 +02:00
|
|
|
),
|
|
|
|
migrations.AddField(
|
2021-04-29 00:27:33 +02:00
|
|
|
model_name="ernestouser",
|
|
|
|
name="trombonoscope",
|
|
|
|
field=models.CharField(
|
|
|
|
choices=[
|
|
|
|
("non", "Non"),
|
|
|
|
("o_a", "Oui en tant que fanfaron actuel"),
|
|
|
|
("o_v", "Oui en tant que vie·ille·ux"),
|
|
|
|
],
|
|
|
|
default="non",
|
|
|
|
max_length=3,
|
|
|
|
null=True,
|
|
|
|
verbose_name="Je souhaite apparaitre dans le trombonoscope :",
|
|
|
|
),
|
2020-09-10 15:06:53 +02:00
|
|
|
),
|
|
|
|
migrations.AddField(
|
2021-04-29 00:27:33 +02:00
|
|
|
model_name="ernestouser",
|
|
|
|
name="trombonoscope_colors",
|
|
|
|
field=models.CharField(
|
|
|
|
choices=[
|
|
|
|
("#e4522f#ffffff", "Orange et Blanc"),
|
|
|
|
("#ffffff#000000", "Blanc et Noir"),
|
|
|
|
("#A8107C#000000", "Rose et Noir"),
|
|
|
|
("#10A4A8#ffffff", "Bleu et Blanc"),
|
|
|
|
("#26A810#000000", "Vert et Noir"),
|
|
|
|
("#A81026#ffffff", "Rouge et Blanc"),
|
|
|
|
("#E3E54C#000000", "Jaune et Noir"),
|
|
|
|
("autre", "Autre"),
|
|
|
|
],
|
|
|
|
default="OrangeBlanc",
|
|
|
|
max_length=40,
|
|
|
|
verbose_name="Couleur du profil",
|
|
|
|
),
|
2020-09-10 15:06:53 +02:00
|
|
|
),
|
|
|
|
migrations.AddField(
|
2021-04-29 00:27:33 +02:00
|
|
|
model_name="ernestouser",
|
|
|
|
name="trombonoscope_fond",
|
|
|
|
field=colorful.fields.RGBColorField(
|
|
|
|
default="#e4522f", verbose_name="Couleur de fond du profil"
|
|
|
|
),
|
2020-09-10 15:06:53 +02:00
|
|
|
),
|
|
|
|
migrations.AddField(
|
2021-04-29 00:27:33 +02:00
|
|
|
model_name="ernestouser",
|
|
|
|
name="trombonoscope_texte",
|
|
|
|
field=colorful.fields.RGBColorField(
|
|
|
|
default="#ffffff", verbose_name="Couleur du texte du profil"
|
|
|
|
),
|
2020-09-10 15:06:53 +02:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-04-29 00:27:33 +02:00
|
|
|
model_name="ernestouser",
|
|
|
|
name="instru",
|
|
|
|
field=models.CharField(
|
|
|
|
choices=[
|
|
|
|
("Clarinette", "Clarinette"),
|
|
|
|
("Euphonium", "Euphonium"),
|
|
|
|
("Percussion", "Percussion"),
|
|
|
|
("Piccolo", "Piccolo"),
|
|
|
|
("Saxophone Alto", "Saxophone Alto"),
|
|
|
|
("Saxophone Ténor", "Saxophone Ténor"),
|
|
|
|
("Saxophone Baryton", "Saxophone Baryton"),
|
|
|
|
("Souba", "Souba"),
|
|
|
|
("Trombone", "Trombone"),
|
|
|
|
("Trompette", "Trompette"),
|
|
|
|
("Autre", "Autre"),
|
|
|
|
("ne sais pas", "Je ne sais pas encore"),
|
|
|
|
],
|
|
|
|
default="ne sais pas",
|
|
|
|
max_length=40,
|
|
|
|
verbose_name="Instrument joué",
|
|
|
|
),
|
2020-09-10 15:06:53 +02:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-04-29 00:27:33 +02:00
|
|
|
model_name="ernestouser",
|
|
|
|
name="phone",
|
|
|
|
field=models.CharField(
|
|
|
|
blank=True,
|
|
|
|
help_text="seulement visible par les chef·fe·s",
|
|
|
|
max_length=20,
|
|
|
|
verbose_name="Téléphone",
|
|
|
|
),
|
2020-09-10 15:06:53 +02:00
|
|
|
),
|
|
|
|
]
|