app/soc/logic/cleaning.py
changeset 2115 fafd021def7e
parent 2073 6eb9b4652c80
child 2327 6c7d0fba105c
--- 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
   """