Exemple #1
0
class PublishedArticleTranslation(
    ArticleTranslation.get_published_model(),
    ArticleTranslation
):
    objects = PublishedDraftableManager()
    class Meta:
        proxy = True
Exemple #2
0
class PublishedTranslatedQuestion(
    TranslatedQuestion.get_published_model(),
    TranslatedQuestion,
):
    objects = PublishedDraftableManager()
    class Meta:
        proxy = True
Exemple #3
0
class PublishedAnswerTranslation(
    AnswerTranslation.get_published_model(),
    AnswerTranslation,
):
    objects = PublishedDraftableManager()
    class Meta:
        proxy = True
Exemple #4
0
class PublishedArticle(Article.get_published_model(), Article):
    objects = PublishedDraftableManager()
    class Meta:
        proxy = True