app/soc/modules/ghop/models/work_submission.py
changeset 2821 21dd1ee785f5
parent 2791 c62f45595b8d
child 2845 99121cc7181d
equal deleted inserted replaced
2820:eb57ebee8b91 2821:21dd1ee785f5
    45   #: User who submitted this work
    45   #: User who submitted this work
    46   user = db.ReferenceProperty(reference_class=soc.models.user.User,
    46   user = db.ReferenceProperty(reference_class=soc.models.user.User,
    47                               required=True,
    47                               required=True,
    48                               collection_name='work_submissions')
    48                               collection_name='work_submissions')
    49 
    49 
       
    50   #: Program to which this work belongs to
       
    51   program = db.ReferenceProperty(
       
    52       reference_class=ghop_program_model.GHOPProgram,
       
    53       required=True, collection_name='work_submissions')
       
    54 
    50   #: Property allowing you to store information about your work
    55   #: Property allowing you to store information about your work
    51   information = db.TextProperty(
    56   information = db.TextProperty(
    52       required=False, verbose_name=ugettext('Info'))
    57       required=False, verbose_name=ugettext('Info'))
    53   information.help_text = ugettext(
    58   information.help_text = ugettext(
    54       'Information about the work you submit for this task')
    59       'Information about the work you submit for this task')