# Generated by Django 3.2.15 on 2022-10-06 12:54

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("keywords", "0002_synonymlist_model"),
        ("projects", "0012_alter_project_options"),
    ]

    operations = [
        migrations.AddField(
            model_name="project",
            name="contract_link",
            field=models.CharField(
                blank=True,
                choices=[
                    ("CRTE", "CRTE"),
                    ("PVD", "Petites Villes de Demain"),
                    ("ACV1", "Action Coeur de Ville 1"),
                    ("ACV2", "Action Coeur de Ville 2"),
                    ("PCAET", "PCAET"),
                ],
                max_length=10,
                null=True,
                verbose_name="Appartenance à un plan/programme/contrat",
            ),
        ),
        migrations.AddField(
            model_name="project",
            name="is_public",
            field=models.BooleanField(
                default=False, verbose_name="Ce projet est-il public?"
            ),
        ),
        migrations.AddField(
            model_name="project",
            name="private_description",
            field=models.TextField(
                blank=True, default="", verbose_name="Notes internes du projet"
            ),
        ),
        migrations.AddField(
            model_name="project",
            name="project_types",
            field=models.ManyToManyField(
                blank=True,
                related_name="projects",
                to="keywords.SynonymList",
                verbose_name="Types de projet",
            ),
        ),
        migrations.AddField(
            model_name="project",
            name="project_types_suggestion",
            field=models.CharField(
                blank=True, max_length=256, verbose_name="Type de projet suggéré"
            ),
        ),
        migrations.AddField(
            model_name="project",
            name="status",
            field=models.CharField(
                choices=[
                    ("draft", "Brouillon"),
                    ("reviewable", "En revue"),
                    ("published", "Publié"),
                    ("deleted", "Supprimé"),
                ],
                default="draft",
                max_length=10,
                verbose_name="Statut",
            ),
        ),
        migrations.AlterField(
            model_name="project",
            name="description",
            field=models.TextField(
                blank=True, default="", verbose_name="Description du projet"
            ),
        ),
    ]
