hi... i m new in django but ..m trying to redirect page its not working..
my urls.py file
urlpatterns = patterns('', url(r'^demo$', views.booknew.as_view(), name='demo'), )
my views.py class booknew(ListView): model = Book template_name = "demo.html"
i did't get any error but not its not redirect..? plz help..?