Skip to content

Commit

Permalink
Fix palulos label (#1662)
Browse files Browse the repository at this point in the history
  • Loading branch information
syldb authored Nov 21, 2024
1 parent 41618dc commit 67e7f8b
Show file tree
Hide file tree
Showing 3 changed files with 79 additions and 1 deletion.
39 changes: 39 additions & 0 deletions conventions/migrations/0098_alter_convention_financement.py
Original file line number Diff line number Diff line change
@@ -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,
),
),
]
39 changes: 39 additions & 0 deletions programmes/migrations/0117_alter_lot_financement.py
Original file line number Diff line number Diff line change
@@ -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,
),
),
]
2 changes: 1 addition & 1 deletion programmes/models/choices.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 67e7f8b

Please sign in to comment.