0015_auto_20210909_1009.py 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Generated by Django 3.2.6 on 2021-09-09 10:09
  2. from django.db import migrations, models
  3. class Migration(migrations.Migration):
  4. dependencies = [
  5. ('parc_info', '0014_auto_20210830_1350'),
  6. ]
  7. operations = [
  8. migrations.CreateModel(
  9. name='Taches',
  10. fields=[
  11. ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  12. ('Taches_Nom', models.CharField(max_length=128, verbose_name='Nom')),
  13. ('Taches_Commentaires', models.TextField(verbose_name='Description')),
  14. ('Taches_Tech', models.CharField(choices=[('-', '* A def *'), ('LH', 'Laurent'), ('CM', 'Christophe'), ('PG', 'Philippe')], default='-', max_length=16, verbose_name='Technitien')),
  15. ('Tache_Date_Cree', models.DateTimeField(auto_now_add=True, verbose_name='Date crée')),
  16. ('Tache_Date_Programee', models.DateTimeField(blank=True, verbose_name='Date programmé')),
  17. ('Tache_Date_Terminee', models.DateTimeField(blank=True, verbose_name='Date terminée')),
  18. ('Tache_Statut', models.CharField(choices=[('NOUVELLE', 'Nouvelle'), ('PROGRAMEE', 'Programmée'), ('ENCOUR', 'En cours'), ('FINI', 'Terminée')], default='NOUVELLE', max_length=16, verbose_name='Statut')),
  19. ],
  20. options={
  21. 'verbose_name': 'Tache',
  22. 'verbose_name_plural': 'Taches',
  23. },
  24. ),
  25. migrations.AlterField(
  26. model_name='pic',
  27. name='PIC_L_Chassi_Type',
  28. field=models.CharField(choices=[('PC', 'PC'), ('PORTABLE', 'PORTABLE'), ('CL', 'CL'), ('PANEL-PC', 'PANEL-PC'), ('IMP', 'IMP')], default='PC', max_length=8, verbose_name='Type'),
  29. ),
  30. migrations.AlterField(
  31. model_name='pic',
  32. name='PIC_L_Statut',
  33. field=models.CharField(choices=[('RAS', '-'), ('OK', 'Ok'), ('A AUTONOMISER', 'A autonomiser'), ('A CHANGER', 'A changer'), ('A RENOMMER', 'A renommer'), ('PAS CONCERNÉ', 'Pas concerné'), ('A RETIRER', 'A retirer'), ('EN STOCK', 'En Stock'), ('INAPTE', 'Inapte')], default='RAS', max_length=16, verbose_name='Statut'),
  34. ),
  35. ]