0003_auto_20220421_1510.py 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. # Generated by Django 3.2.7 on 2022-04-21 15:10
  2. from django.db import migrations, models
  3. import django.db.models.deletion
  4. class Migration(migrations.Migration):
  5. dependencies = [
  6. ('gest_user', '0002_auto_20220329_1154'),
  7. ]
  8. operations = [
  9. migrations.CreateModel(
  10. name='GES_APP',
  11. fields=[
  12. ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  13. ('GESAP_Nom', models.CharField(max_length=16, verbose_name='Nom')),
  14. ('GESAP_ltype', models.CharField(choices=[('pnom', '1er lettre du Prenom puis Nom'), ('pre.nom', 'Prenom.Nom'), ('mixed', 'Au choix'), ('ad', 'Lié a AD'), ('mail', 'Lié au compte email'), ('autre', 'Autre')], default='pre.nom', max_length=16, verbose_name='Type de Login')),
  15. ('GESAP_Commentaire', models.TextField(blank=True, verbose_name='Aide pour la création du compte')),
  16. ],
  17. options={
  18. 'verbose_name': 'Les apllications métiers',
  19. 'verbose_name_plural': 'Les apllications métiers',
  20. },
  21. ),
  22. migrations.CreateModel(
  23. name='GES_Fonction',
  24. fields=[
  25. ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  26. ('GESFC_Nom', models.CharField(max_length=16, verbose_name='Nom')),
  27. ],
  28. options={
  29. 'verbose_name': 'Les fonctions',
  30. 'verbose_name_plural': 'Les fonctions',
  31. },
  32. ),
  33. migrations.AlterModelOptions(
  34. name='ges_user',
  35. options={'verbose_name': 'Les utilisateurs', 'verbose_name_plural': 'Les utilisateurs'},
  36. ),
  37. migrations.RemoveField(
  38. model_name='ges_user',
  39. name='GES_AD_Logon',
  40. ),
  41. migrations.RemoveField(
  42. model_name='ges_user',
  43. name='GES_AD_MDP',
  44. ),
  45. migrations.RemoveField(
  46. model_name='ges_user',
  47. name='GES_ELSAN_EMAIL',
  48. ),
  49. migrations.RemoveField(
  50. model_name='ges_user',
  51. name='GES_MED_Logon',
  52. ),
  53. migrations.RemoveField(
  54. model_name='ges_user',
  55. name='GES_MED_MDP',
  56. ),
  57. migrations.RemoveField(
  58. model_name='ges_user',
  59. name='GES_PULSY_EMAIL',
  60. ),
  61. ]