forked from rc/aircox
17 lines
354 B
Python
17 lines
354 B
Python
from ..models import Article
|
|
from .program import ProgramPageListView
|
|
|
|
|
|
__all__ = ['ArticleListView']
|
|
|
|
|
|
class ArticleListView(ProgramPageListView):
|
|
model = Article
|
|
template_name = 'aircox/article_list.html'
|
|
show_headline = True
|
|
is_static = False
|
|
|
|
def get_queryset(self):
|
|
return super().get_queryset(is_static=self.is_static)
|
|
|