# Generated by Django 2.2.25 on 2022-01-09 18:38

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("partitions", "0004_auto_20210331_1350"),
    ]

    operations = [
        migrations.CreateModel(
            name="SetList",
            fields=[
                (
                    "id",
                    models.AutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("date", models.DateField(verbose_name="Date de la répétition")),
                (
                    "is_current",
                    models.CharField(
                        choices=[("y", "Oui"), ("n", "Non")],
                        default="y",
                        max_length=1,
                        verbose_name="Afficher le programme de répétition (les répétition vieilles de plus d'une semaine ne sont pas affiché d'office)",
                    ),
                ),
                (
                    "morceaux",
                    models.ManyToManyField(
                        to="partitions.PartitionSet",
                        verbose_name="Morceaux de la répétition (ctrl ou cmd pour en selectionner plusieurs)",
                    ),
                ),
            ],
        ),
    ]
