diff -r 1b3830abcdf7 -r fafd021def7e app/soc/logic/cleaning.py --- a/app/soc/logic/cleaning.py Tue Apr 07 08:44:56 2009 +0000 +++ b/app/soc/logic/cleaning.py Tue Apr 07 08:49:47 2009 +0000 @@ -589,7 +589,7 @@ return cleaned_data return wrapper -def validate_new_student_project(org_field, mentor_field, student_field): +def validate_student_project(org_field, mentor_field, student_field): """Validates the form of a student proposal. Args: @@ -599,7 +599,7 @@ Raises ValidationError if: -A valid Organization does not exist for the given keyname - -The mentor link_id does not match the mentors for the active organization + -The mentor link_id does not match a mentor for the active organization -The student link_id does not match a student in the org's Program """