diff options
-rw-r--r-- | askbot/models/post.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/askbot/models/post.py b/askbot/models/post.py index d5c0c6df..343ffd87 100644 --- a/askbot/models/post.py +++ b/askbot/models/post.py @@ -8,6 +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 |