app/ghop/models/work_submission.py
changeset 2348 0edff67b472d
parent 2347 c5a397f57d65
equal deleted inserted replaced
2347:c5a397f57d65 2348:0edff67b472d
    39 
    39 
    40   Scope will be set to the Organization to which this work has been submitted.
    40   Scope will be set to the Organization to which this work has been submitted.
    41   """
    41   """
    42 
    42 
    43   #: Task to which this work was submitted
    43   #: Task to which this work was submitted
    44   task = db.ReferenceProperty(reference_class=ghop.models.task.Task,
    44   task = db.ReferenceProperty(reference_class=ghop.models.task.GHOPTask,
    45                               required=True,
    45                               required=True,
    46                               collection_name='work_submissions')
    46                               collection_name='work_submissions')
    47 
    47 
    48   #: User who submitted this work
    48   #: User who submitted this work
    49   user = db.ReferenceProperty(reference_class=soc.models.user.User,
    49   user = db.ReferenceProperty(reference_class=soc.models.user.User,