2
Figured it out. Stupid mistake
On the third row of views.py, I’m passing the data incorrectly. It should be done like this:
password_change_form = PasswordChangeForm(user=request.user, data=request.POST)
Source:stackexchange.com
2
Figured it out. Stupid mistake
On the third row of views.py, I’m passing the data incorrectly. It should be done like this:
password_change_form = PasswordChangeForm(user=request.user, data=request.POST)