Skip to content

Commit

Permalink
relais: update help text
Browse files Browse the repository at this point in the history
  • Loading branch information
brmzkw committed Feb 13, 2025
1 parent b30f01c commit f012c43
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Generated by Django 5.0.6 on 2025-02-13 12:42

import django.db.models.deletion
from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("fradm", "0005_alter_commune_unique_together_and_more"),
("vehicules_relais", "0006_alter_vehicule_motorisation"),
]

operations = [
migrations.AlterField(
model_name="vehicule",
name="departement",
field=models.ForeignKey(
on_delete=django.db.models.deletion.RESTRICT,
to="fradm.prefecture",
verbose_name="Département du véhicule relais",
),
),
]
1 change: 0 additions & 1 deletion mesads/vehicules_relais/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ def main_features(self):
on_delete=models.RESTRICT,
null=False,
verbose_name="Département du véhicule relais",
help_text="Un véhicule relais ne peut être enregistré que pour un seul département.",
)

numero = models.CharField(
Expand Down

0 comments on commit f012c43

Please sign in to comment.