Commit 29ce9ae0 authored by Amap's avatar Amap

Erreur des fields obligatoires

parent d0beda5f
......@@ -84,7 +84,7 @@ class User(AbstractBaseUser):
sac_consignes = models.IntegerField(default=0)
USERNAME_FIELD = 'pseudo'
REQUIRED_FIELDS = ['name', 'surname', 'email', 'telephone']
REQUIRED_FIELDS = ['name', 'surname', 'email']
objects = UserManager()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment