def METHOD_NAME(self, request, *args, **kwargs):
    if 'cancel' in request.POST:
        return HttpResponseRedirect(get_next(request))
    else:
        return super(RedirectViewMixin, self).METHOD_NAME(request, *args, **kwargs)