# HG changeset patch # User Lennard de Rijk # Date 1254599348 -7200 # Node ID 6a84c1ff5b5ccbf3de635481f036cb0e53ace442 # Parent 2c5e9cd4ba4d57bd44098200d5ccfc996a6a453a GHOP Comments do not need to be created by a User. We also have "system" messages. diff -r 2c5e9cd4ba4d -r 6a84c1ff5b5c app/soc/modules/ghop/models/comment.py --- a/app/soc/modules/ghop/models/comment.py Sat Oct 03 22:17:58 2009 +0530 +++ b/app/soc/modules/ghop/models/comment.py Sat Oct 03 21:49:08 2009 +0200 @@ -54,7 +54,7 @@ #: 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, - required=True, + required=False, collection_name="commented_by") #: Date when the comment was added