I am using a ListView that list videos according to tags. The filtering happens in get_queryset(). I\'d like to redirect the user to another page if the tag doesn\'t contains an
According to django doc :
in url.py
from django.views.generic.base import RedirectView urlpatterns = patterns('', ... url(r'^go-to-django/$', RedirectView.as_view(url='http://djangoproject.com'), name='go-to-django'), .. )