diff options
Diffstat (limited to 'askbot/models/post.py')
-rw-r--r-- | askbot/models/post.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/askbot/models/post.py b/askbot/models/post.py index 16352228..d5c0c6df 100644 --- a/askbot/models/post.py +++ b/askbot/models/post.py @@ -8,13 +8,9 @@ from askbot.utils.html import sanitize_html # pass class PostRevisionManager(models.Manager): - # TODO: Make sure this manager /with the "blocked" .create() method/ is used also as a `related` manager: - # - https://docs.djangoproject.com/en/1.3/topics/db/managers/#controlling-automatic-manager-types - # - use_for_related_fields def create(self, *kargs, **kwargs): raise NotImplementedError # Prevent accidental creation of PostRevision instance without `revision_type` set - def create_question_revision(self, *kargs, **kwargs): kwargs['revision_type'] = self.model.QUESTION_REVISION return super(PostRevisionManager, self).create(*kargs, **kwargs) |