quite a few changes. modified models and feedback views .
{% extends "base.html" %}
{% block content %}
{% if password_changed %}
Your password has been successfully changed. <a href="/reg">Click here</a> to return to home page.
{% else %}
<form action="" method="post">
{{form.as_p}}
<input type="submit" value="Change">
</form>
{% endif %}
{% endblock %}