forked from rc/aircox
cfr #121 Co-authored-by: Christophe Siraut <d@tobald.eu.org> Co-authored-by: bkfox <thomas bkfox net> Co-authored-by: Thomas Kairos <thomas@bkfox.net> Reviewed-on: rc/aircox#131 Co-authored-by: Chris Tactic <ctactic@noreply.git.radiocampus.be> Co-committed-by: Chris Tactic <ctactic@noreply.git.radiocampus.be>
18 lines
395 B
Python
18 lines
395 B
Python
from django.utils.translation import gettext_lazy as _
|
|
|
|
from .page import ChildPage
|
|
from .program import ProgramChildQuerySet
|
|
|
|
__all__ = ("Article",)
|
|
|
|
|
|
class Article(ChildPage):
|
|
detail_url_name = "article-detail"
|
|
template_prefix = "article"
|
|
|
|
objects = ProgramChildQuerySet.as_manager()
|
|
|
|
class Meta:
|
|
verbose_name = _("Article")
|
|
verbose_name_plural = _("Articles")
|