bksun / my-quora-app

A Quora like basic web-app using DJango 2.2
4 stars 6 forks source link

Use `set_password` method in User modal to set the password. #11

Open chirathr opened 5 years ago

chirathr commented 5 years ago

Refer to the docs for more info: https://docs.djangoproject.com/en/2.2/ref/contrib/auth/#django.contrib.auth.models.User.set_password

https://github.com/bksun/my-quora-app/blob/79af6ea623dd5487eafca9c35910e7d4fdfcdcee/myquora/views.py#L177