app/soc/models/student_project.py
changeset 2574 402e4a979e77
parent 2573 f09f317769c4
child 2634 6e71545533b6
equal deleted inserted replaced
2573:f09f317769c4 2574:402e4a979e77
    80   #:            should be set automatically when a program has been deemed
    80   #:            should be set automatically when a program has been deemed
    81   #:            finished.
    81   #:            finished.
    82   #: withdrawn: This project has been withdrawn from the program by a Program
    82   #: withdrawn: This project has been withdrawn from the program by a Program
    83   #:            Administrator or higher.
    83   #:            Administrator or higher.
    84   #: invalid: This project has been marked as invalid because it was deleted
    84   #: invalid: This project has been marked as invalid because it was deleted
    85   status = db.StringProperty(required=True, default='accepted',
    85   status = db.StringProperty(
       
    86       required=True, default='accepted',
    86       choices=['accepted', 'failed', 'completed', 'withdrawn', 'invalid'])
    87       choices=['accepted', 'failed', 'completed', 'withdrawn', 'invalid'])
    87 
    88 
    88   #: List of all processed GradingRecords which state a pass for this project.
    89   #: List of all processed GradingRecords which state a pass for this project.
    89   #: This property can be used to determine how many evaluations someone has
    90   #: This property can be used to determine how many evaluations someone has
    90   #: passed. And is also used to ensure that a GradingRecord has been
    91   #: passed. And is also used to ensure that a GradingRecord has been