20 lines
612 B
Python
20 lines
612 B
Python
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('interventions', '0012_symptomcontractautoclose_remove_symptom_auto_close'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='symptom',
|
|
name='require_equipment_selection',
|
|
field=models.BooleanField(
|
|
default=False,
|
|
help_text="Si coché, une intervention avec ce symptôme doit obligatoirement être liée à un équipement.",
|
|
verbose_name='Équipement obligatoire',
|
|
),
|
|
),
|
|
]
|