diff --git a/conventions/migrations/0098_alter_convention_financement.py b/conventions/migrations/0098_alter_convention_financement.py new file mode 100644 index 000000000..c4d999034 --- /dev/null +++ b/conventions/migrations/0098_alter_convention_financement.py @@ -0,0 +1,39 @@ +# Generated by Django 5.1.3 on 2024-11-21 14:56 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("conventions", "0097_convention_identification_bailleur_and_more"), + ] + + operations = [ + migrations.AlterField( + model_name="convention", + name="financement", + field=models.CharField( + choices=[ + ("PLUS", "PLUS"), + ("PLUS_CD", "PLUS_CD"), + ("PLAI", "PLAI"), + ("PLAI_ADP", "PLAI_ADP"), + ("PLUS-PLAI", "PLUS-PLAI"), + ("PLS", "PLS"), + ("PSH", "PSH"), + ("PALULOS", "PALULOS"), + ("PALU_AV_21", "PALULOS avant 2021"), + ("SANS_FINANCEMENT", "Sans Financement"), + ("LLS", "LLS"), + ("LLTS", "LLTS"), + ("LLTSA", "LLTSA"), + ("PLS_DOM", "PLS_DOM"), + ("SALLS_R", "SALLS Réhabiliation"), + ("SECD_VIE", "SECD_VIE"), + ], + default="PLUS", + max_length=25, + ), + ), + ] diff --git a/programmes/migrations/0117_alter_lot_financement.py b/programmes/migrations/0117_alter_lot_financement.py new file mode 100644 index 000000000..5198b32e9 --- /dev/null +++ b/programmes/migrations/0117_alter_lot_financement.py @@ -0,0 +1,39 @@ +# Generated by Django 5.1.3 on 2024-11-21 14:56 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("programmes", "0116_alter_lot_financement"), + ] + + operations = [ + migrations.AlterField( + model_name="lot", + name="financement", + field=models.CharField( + choices=[ + ("PLUS", "PLUS"), + ("PLUS_CD", "PLUS_CD"), + ("PLAI", "PLAI"), + ("PLAI_ADP", "PLAI_ADP"), + ("PLUS-PLAI", "PLUS-PLAI"), + ("PLS", "PLS"), + ("PSH", "PSH"), + ("PALULOS", "PALULOS"), + ("PALU_AV_21", "PALULOS avant 2021"), + ("SANS_FINANCEMENT", "Sans Financement"), + ("LLS", "LLS"), + ("LLTS", "LLTS"), + ("LLTSA", "LLTSA"), + ("PLS_DOM", "PLS_DOM"), + ("SALLS_R", "SALLS Réhabiliation"), + ("SECD_VIE", "SECD_VIE"), + ], + default="PLUS", + max_length=25, + ), + ), + ] diff --git a/programmes/models/choices.py b/programmes/models/choices.py index 0440a3869..ea6ea2966 100644 --- a/programmes/models/choices.py +++ b/programmes/models/choices.py @@ -27,7 +27,7 @@ class Financement(models.TextChoices): PSH = "PSH", "PSH" PALULOS = "PALULOS", "PALULOS" # PALULOS - PALU_AV_21 = "PALU_AV_21", "PALULOS" + PALU_AV_21 = "PALU_AV_21", "PALULOS avant 2021" SANS_FINANCEMENT = "SANS_FINANCEMENT", "Sans Financement" # Financements spécifiques outre-mer LLS = "LLS", "LLS"