forked from DGNum/gestioCOF
Use EmailField for email field
This commit is contained in:
parent
72cd55716b
commit
badee498a3
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ class PetitCoursAbility(models.Model):
|
||||||
|
|
||||||
class PetitCoursDemande(models.Model):
|
class PetitCoursDemande(models.Model):
|
||||||
name = models.CharField(_("Nom/prénom"), max_length=200)
|
name = models.CharField(_("Nom/prénom"), max_length=200)
|
||||||
email = models.CharField(_("Adresse email"), max_length=300)
|
email = models.EmailField(_("Adresse email"), max_length=300)
|
||||||
phone = models.CharField(_("Téléphone (facultatif)"), max_length=20, blank=True)
|
phone = models.CharField(_("Téléphone (facultatif)"), max_length=20, blank=True)
|
||||||
quand = models.CharField(
|
quand = models.CharField(
|
||||||
_("Quand ?"),
|
_("Quand ?"),
|
||||||
|
|
Loading…
Reference in a new issue