class SubmittedTranslatedQuestion( TranslatedQuestion.get_submitted_model(), TranslatedQuestion, ): objects = SubmittedDraftableManager() class Meta: proxy = True
class SubmittedArticle(Article.get_submitted_model(), Article): objects = SubmittedDraftableManager() class Meta: proxy = True def get_absolute_url(self): return reverse('dashboard:review-article', kwargs={'article': self.id})
class SubmittedArticleTranslation( ArticleTranslation.get_submitted_model(), ArticleTranslation, ): objects = SubmittedDraftableManager() class Meta: proxy = True def get_publish_url(self): return reverse('dashboard:publish-article-translation', kwargs={ 'pk': self.id, })