2👍
✅
At the end of your clean function you are returning the password itself and model view can’t access it with get (since it’s a string). Just put return self.cleaned_data
instead of return password
and everything should work fine.
Source:stackexchange.com