V
V
vikholodov2018-04-16 18:50:28
Django
vikholodov, 2018-04-16 18:50:28

Where to store unvalidated data in Django?

To change the password, the user needs to confirm this action by clicking on the link that is generated for him using the hash stored in the user model (the link flies to email).
The question is where to store the new password and anything else, until the user has confirmed his actions? Is it somehow not comme il faut to create a field in the model, or is it normal practice?
Or am I generally doing some kind of crutch and is there a ready-made framework for such cases?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ranc58, 2018-04-17
@Ranc58

Google django recover password - it's quite possible to use standard django stuff not only for recovery, but also for simple password change.
For example: https://simpleisbetterthancomplex.com/tutorial/201...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question