class DraftArticleTranslation( ArticleTranslation.get_draft_model(), ArticleTranslation ): objects = DraftDraftableManager() class Meta: proxy = True
class DraftAnswerTranslation( AnswerTranslation.get_draft_model(), AnswerTranslation, ): objects = DraftDraftableManager() class Meta: proxy = True
class DraftTranslatedQuestion( TranslatedQuestion.get_draft_model(), TranslatedQuestion, ): objects = DraftDraftableManager() class Meta: proxy = True
class ArticleDraft(Article.get_draft_model(), Article): objects = DraftDraftableManager() class Meta: proxy = True def get_absolute_url(self): return reverse('dashboard:edit-article', kwargs={'draft_id': self.id})