86 lines
4.2 KiB
Python
86 lines
4.2 KiB
Python
# 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 = [
|
|
('gestion', '0001_initial'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='VideoGallery',
|
|
fields=[
|
|
('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()),
|
|
],
|
|
options={
|
|
'verbose_name_plural': 'Videos',
|
|
'verbose_name': 'Video',
|
|
},
|
|
),
|
|
migrations.RemoveField(
|
|
model_name='ernestouser',
|
|
name='mails',
|
|
),
|
|
migrations.AddField(
|
|
model_name='ernestouser',
|
|
name='instru_autre',
|
|
field=models.CharField(blank=True, max_length=100, null=True, verbose_name='Lequel ?'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='ernestouser',
|
|
name='instru_bonus',
|
|
field=models.CharField(blank=True, max_length=100, null=True, verbose_name='Le·s·quel·s ?'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='ernestouser',
|
|
name='instru_trombonoscope',
|
|
field=models.CharField(blank=True, max_length=30, verbose_name='Instrument affiché sur le trombonoscope'),
|
|
),
|
|
migrations.AddField(
|
|
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 :"),
|
|
),
|
|
migrations.AddField(
|
|
model_name='ernestouser',
|
|
name='nom_trombonoscope',
|
|
field=models.CharField(blank=True, max_length=30, verbose_name='Nom affiché sur le trombonoscope'),
|
|
),
|
|
migrations.AddField(
|
|
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 :'),
|
|
),
|
|
migrations.AddField(
|
|
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'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='ernestouser',
|
|
name='trombonoscope_fond',
|
|
field=colorful.fields.RGBColorField(default='#e4522f', verbose_name='Couleur de fond du profil'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='ernestouser',
|
|
name='trombonoscope_texte',
|
|
field=colorful.fields.RGBColorField(default='#ffffff', verbose_name='Couleur du texte du profil'),
|
|
),
|
|
migrations.AlterField(
|
|
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é'),
|
|
),
|
|
migrations.AlterField(
|
|
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'),
|
|
),
|
|
]
|