1👍
Actually what you probably want is a DetailView for Categories (then iterate over content in the template). E.g.
url(r'^category/$', CategoryListView.as_view()),
url(r'^category/(?P<slug>[\w-]+)/$', CategoryDetailView.as_view()),
If you want subcategory features or use detail views as list views, either add a queryset to context or change the view’s flow (you’re probably better of creating a custom view for the latter).
Source:stackexchange.com