1👍
Not sure what return ContentDetailView.as_view()(self, **kwargs)
is, but in general if you want to redirect, you would use something along the lines of:
return redirect(reverse('category_list', args=[ARG1, ARG2]))
Where “category_list” is the name of the url pattern, and ARG1 & ARG2 are the arguments you want in the url.
Source:stackexchange.com