1
0
mirror of https://gitlab.crans.org/mediatek/med.git synced 2025-07-07 06:24:01 +02:00

Fix mail vide

This commit is contained in:
Gabriel Detraz
2017-11-14 23:06:01 +01:00
committed by root
parent fa55b8f274
commit 366b88ad92
2 changed files with 21 additions and 1 deletions

View File

@ -82,7 +82,7 @@ class User(AbstractBaseUser):
name = models.CharField(max_length=255)
surname = models.CharField(max_length=255)
email = models.EmailField(null=True, blank=True)
email = models.EmailField()
telephone = models.CharField(max_length=15, null=True, blank=True)
adresse = models.CharField(max_length=255, null=True, blank=True)
maxemprunt = models.IntegerField(default=MAX_EMPRUNT, help_text="Maximum d'emprunts autorisés")