aboutsummaryrefslogtreecommitdiff
path: root/rhodecode/model/comment.py
diff options
context:
space:
mode:
authorMarcin Kuzminski <marcin@python-works.com>2012-07-01 12:44:54 +0200
committerMarcin Kuzminski <marcin@python-works.com>2012-07-01 12:44:54 +0200
commit5b9a39123c1c267ce1a733bf853bca75f702fb80 (patch)
tree316809aac60834ab8b7fc38c019ddc1d369db55d /rhodecode/model/comment.py
parentdf952a1dc77925bc8126b4c09d71e683014da04a (diff)
Added associated classes into child models
--HG-- branch : beta
Diffstat (limited to 'rhodecode/model/comment.py')
-rw-r--r--rhodecode/model/comment.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/rhodecode/model/comment.py b/rhodecode/model/comment.py
index a3f67b26..6d63c590 100644
--- a/rhodecode/model/comment.py
+++ b/rhodecode/model/comment.py
@@ -41,6 +41,8 @@ log = logging.getLogger(__name__)
class ChangesetCommentsModel(BaseModel):
+ cls = ChangesetComment
+
def __get_changeset_comment(self, changeset_comment):
return self._get_instance(ChangesetComment, changeset_comment)