0003_auto_20240924_0725.py 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. # Generated by Django 3.2.23 on 2024-09-24 07:25
  2. from django.db import migrations, models
  3. import django.db.models.deletion
  4. class Migration(migrations.Migration):
  5. dependencies = [
  6. ('core', '0025_auto_20240730_2241'),
  7. ('gest_clin', '0002_auto_20231229_0916'),
  8. ]
  9. operations = [
  10. migrations.AlterModelOptions(
  11. name='clinique',
  12. options={'ordering': ['CLIN_Nom'], 'verbose_name': 'Clinique', 'verbose_name_plural': 'Cliniques'},
  13. ),
  14. migrations.AlterModelOptions(
  15. name='services',
  16. options={'ordering': ['SERVICE_Nom'], 'verbose_name': 'Service', 'verbose_name_plural': 'Services'},
  17. ),
  18. migrations.AddField(
  19. model_name='clinique',
  20. name='CLIN_Grp',
  21. field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='core.groupe', verbose_name='Groupe de Clinique'),
  22. ),
  23. migrations.AddField(
  24. model_name='clinique',
  25. name='CLIN_Serial',
  26. field=models.CharField(choices=[('UNI', 'Unique'), ('Par Service', 'Par Service')], default='RAS', max_length=16, verbose_name='Type de Sérialisation'),
  27. ),
  28. ]