aircox-radiocampus/aircox/models/article.py
Chris Tactic 55123c386d #132 | #121: backoffice / dev-1.0-121 (#131)
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>
2024-04-28 22:02:09 +02:00

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")