Browse Source

ajout date d'arrivée

Mr Duhaz 1 tháng trước cách đây
mục cha
commit
29a5063a91
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      gest_user/models.py

+ 1 - 1
gest_user/models.py

@@ -52,10 +52,10 @@ class GES_User(models.Model):
 	GES_Nom = models.CharField("Nom", max_length=16)
 	GES_Prenom = models.CharField("Prénom", max_length=16)
 	GES_Motdepasse = models.CharField("Mot de passe", max_length=16)
-	#GES_Service = models.ForeignKey(Services, on_delete=models.CASCADE)
 	GES_Service = models.ForeignKey(NServices, on_delete=models.CASCADE)
 	GES_Fonction = models.ForeignKey(GES_Fonction, on_delete=models.CASCADE, blank=True, null=True)
 	GES_APPs = models.ManyToManyField(GES_APP)
+	GES_Date = models.DateTimeField("Date d'arrivée", blank=True, null=True)
 	GES_OK = models.BooleanField("Création complété", default = False)
 	ordering = ['GES_Service']