I have one view that I want to do some stuff in and then redirect to another view with a success message. The signature of the method that I want to redirect to is
You haven't given your URL a name, so you need to use the whole path to the view function. Plus, that URL doesn't take errorMessage or successMessage parameters, so putting them into the reverse call will fail. This is what you want: