1👍
✅
Don’t return the request. You need to return the super’s get result.
if condition:
return redirect('/dashboard/')
else:
return super(UserFormView, self).get(request)
Source:stackexchange.com