Minipub views

from minipub.views import MinipubArchiveIndexView, MinipubYearArchiveView, MinipubDetailView

class ArticleArchiveView(MinipubArchiveIndexView):

Minipub provides a few basic views to get you started - but you are encouraged to look at the source code. The important thing to note is the GetQuerysetMixin mixin - you can use this with most of Django’s List- and Detail- class based-views to easily integrate minipub.

For example, in minipub’, here is the source code for defining a detail view:

class MinipubDetailView(GetQuerysetMixin, DetailView):