Changed the property that holds the minimum age required for Students to participate...
commit7b1c40232e2bd49ef2084be24249fdf6417e909e
authorMadhusudan C.S. <madhusudancs@gmail.com>
Mon, 8 Jun 2009 06:42:13 +0000 (8 08:42 +0200)
committerMadhusudan C.S. <madhusudancs@gmail.com>
Mon, 8 Jun 2009 06:42:13 +0000 (8 08:42 +0200)
tree74a1a1c6ba4934e6c7aefcf15b7ba80133770a92
parent0646b2d06e7312b9e2e3f5251ec7b2315ac2cd2d
Changed the property that holds the minimum age required for Students to participate in a GHOP based program.

Added a new property student_min_age_as_of to hold the DateTime from when the minimum age should be reached. Changed student_min_age property to now store the student minimum age as an integer.

This all feel more user friendly then letting the program admin calculate the required DateTime. Storing the two properties is then still needed in this case since information might be lost otherwise when the program admin brings up the edit view.

Reviewed by: Lennard de Rijk
app/soc/modules/ghop/models/program.py