I maintain one project which does this with a save hook on the User model,
setting the username to the email address field (with uniqueness tests, of
course).
It’s crude, but seems to work well and hasn’t given any problems.
—
Best Regards,
Brian Maher
Senior Research Software Engineer & Syste
You could do this quite easily by just querying the table storing reset keys
for objects belonging to the user and expiring them (setting the date to the
past, or setting an expire bit).
However, IMO it is far better to just generate another one, and have them
expire automatically after either
Yes, certainly!
You can run Django apps under apache using mod_wsgi. There’s an example
configuration here:
https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/modwsgi/
Best
Brian
—
Best Regards,
Brian Maher
On 15 Aug 2019, at 09:17, gopi p
mailto:gopi.s...@gmail.com>> wrote:
Hi,
3 matches
Mail list logo