ProgramPageListView + article list view

This commit is contained in:
bkfox
2019-08-17 17:51:12 +02:00
parent abaccf9ded
commit 595af5a69d
12 changed files with 62 additions and 36 deletions

View File

@ -1,12 +1,14 @@
from ..models import Article
from .page import PageListView
from .program import ProgramPageListView
__all__ = ['ArticleListView']
class ArticleListView(PageListView):
class ArticleListView(ProgramPageListView):
model = Article
template_name = 'aircox/article_list.html'
show_headline = True
is_static = False
def get_queryset(self):