0036_auto_20211213_0951.py 1.1 KB

123456789101112131415161718192021222324252627282930
  1. # Generated by Django 3.2.7 on 2021-12-13 09:51
  2. from django.db import migrations, models
  3. class Migration(migrations.Migration):
  4. dependencies = [
  5. ('parc_info', '0035_auto_20211110_1011'),
  6. ]
  7. operations = [
  8. migrations.CreateModel(
  9. name='Baie',
  10. fields=[
  11. ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  12. ('BAIE_Site', models.CharField(choices=[('GENT', 'GENT'), ('CAP', 'CAP'), ('EXT', 'EXT')], default='EXT', max_length=4, verbose_name='Site')),
  13. ('BAIE_Nom', models.CharField(max_length=32, unique=True, verbose_name='Nom de la Baie')),
  14. ('BAIE_Commentaire', models.TextField(blank=True, null=True, verbose_name='Commentaires')),
  15. ],
  16. options={
  17. 'verbose_name': 'Baie',
  18. 'verbose_name_plural': 'Baies',
  19. },
  20. ),
  21. migrations.AlterModelOptions(
  22. name='services',
  23. options={'verbose_name': 'Service', 'verbose_name_plural': 'Services'},
  24. ),
  25. ]