Removed scope and scope_path properties from GHOPComment since it is ID based.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Thu, 27 Aug 2009 22:40:26 +0530
changeset 2822 387a3b80df05
parent 2821 21dd1ee785f5
child 2823 21c222535654
Removed scope and scope_path properties from GHOPComment since it is ID based.
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,