[Answer]-Django: FormView: How to add initial logic?

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)

Leave a comment