# HG changeset patch # User Madhusudan.C.S # Date 1251393026 -19800 # Node ID 387a3b80df053458ddf6d66e7b55a8961b3f839c # Parent 21dd1ee785f5a238a44c72bb4c8ddd1757c04c8a Removed scope and scope_path properties from GHOPComment since it is ID based. diff -r 21dd1ee785f5 -r 387a3b80df05 app/soc/modules/ghop/models/comment.py --- a/app/soc/modules/ghop/models/comment.py Thu Aug 27 22:35:28 2009 +0530 +++ b/app/soc/modules/ghop/models/comment.py Thu Aug 27 22:40:26 2009 +0530 @@ -51,22 +51,6 @@ choices=['valid','invalid'], verbose_name=ugettext('Status of this Comment')) - #: Reference property to the task entity under which the comment - #: is scoped - scope = db.ReferenceProperty( - reference_class=soc.modules.ghop.models.task.GHOPTask, - required=True, collection_name='comment_scopes', - verbose_name=ugettext('Comment Scope')) - scope.help_text = ugettext( - 'Reference to the task entity under which this comment was posted.') - - #: Hidden (not displayed to users or editable in forms) cache of the string - #: representation of the transitive closure of scopes, for use in URLs. - scope_path = db.StringProperty(required=False, - verbose_name=ugettext('Scope path')) - scope_path.help_text = ugettext( - 'Cache of the string form of the entity scope.') - #: A required many:1 relationship with a comment entity indicating #: the user who provided that comment. created_by = db.ReferenceProperty(reference_class=soc.models.user.User,