Added reference to GHOPProgram entity for Work Submissions.
--- a/app/soc/modules/ghop/models/work_submission.py Thu Aug 27 12:02:00 2009 +0200
+++ b/app/soc/modules/ghop/models/work_submission.py Thu Aug 27 22:35:28 2009 +0530
@@ -47,6 +47,11 @@
required=True,
collection_name='work_submissions')
+ #: Program to which this work belongs to
+ program = db.ReferenceProperty(
+ reference_class=ghop_program_model.GHOPProgram,
+ required=True, collection_name='work_submissions')
+
#: Property allowing you to store information about your work
information = db.TextProperty(
required=False, verbose_name=ugettext('Info'))