You probably need extra attributes in your User class, which means you
could extend the User class like explained here:
https://docs.djangoproject.com/en/1.11/topics/auth/customizing/#extending-the-existing-user-model
Don't forget you could also work with the *is_active *attribute to control
whe
You could do like this: when the user signs in you create the user in the
database and flags is_active as False, so the user won't be able to log in. In
your extended User model you could haverá
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
You could do like this: when the user signs in you create the user in the
database and flags is_active as False, so the user won't be able to log in. In
your extended User model you could have another flag like has_confirmed_email
which you also set to False. When the user confirms the email you
3 matches
Mail list logo