How to implement password change form in Django 1.9
<p>The url for my python project is here:
<a href="https://github.com/abylikhsanov/social" rel="nofollow">https://github.com/abylikhsanov/social</a></p>

<p>I am trying to implement the password change form, so the user can change his or her password. How can I implement it? The application should keep track    of  the previous password and should not allow the   user to use a  previously  used    password. Also, I want to implement the reset password function. </p>