app/soc/models/task.py
changeset 391 849aa913e9c8
parent 385 6d410bf49a82
child 533 ba3309b2fd30
equal deleted inserted replaced
390:d12c95ade374 391:849aa913e9c8
    42      the Contributors to a Task to the specific Task.  See the
    42      the Contributors to a Task to the specific Task.  See the
    43      TasksContributors model for details.
    43      TasksContributors model for details.
    44   """
    44   """
    45  
    45  
    46   #: A required many:1 relationship with the Proposal on which the
    46   #: A required many:1 relationship with the Proposal on which the
    47   #: Task is based.  A Task may be based on only a single Proposal, 
    47   #: Task is based.  A Task may be based on only a single Proposal,
    48   #: but a Proposal can be the foundation for multiple Tasks. The
    48   #: but a Proposal can be the foundation for multiple Tasks. The
    49   #: back-reference in the Proposal model is a Query named 'tasks'.  
    49   #: back-reference in the Proposal model is a Query named 'tasks'.
    50   proposal = db.ReferenceProperty(reference_class=soc.models.proposal.Proposal,
    50   proposal = db.ReferenceProperty(reference_class=soc.models.proposal.Proposal,
    51                                   required=True,
    51                                   required=True,
    52                                   collection_name="tasks")
    52                                   collection_name="tasks")
    53 
    53