mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2025-01-26 18:14:20 +00:00
Création des champsdans le model user et écriture de la migration
This commit is contained in:
parent
7c3c951146
commit
00f53a8d9a
1 changed files with 7 additions and 0 deletions
|
@ -225,6 +225,13 @@ class User(RevMixin, FieldPermissionModelMixin, AbstractBaseUser,
|
|||
blank=True,
|
||||
null=True
|
||||
)
|
||||
verified = models.BooleanField(
|
||||
default=False
|
||||
)
|
||||
verification_deadline = models.DateTimeField(
|
||||
blank=True,
|
||||
null = True
|
||||
)
|
||||
|
||||
USERNAME_FIELD = 'pseudo'
|
||||
REQUIRED_FIELDS = ['surname', 'email']
|
||||
|
|
Loading…
Add table
Reference in a new issue