taskapp/forms/task.py
changeset 218 59107ce0a618
parent 205 0c317f68df49
child 219 f04a1ec7a07f
--- a/taskapp/forms/task.py	Wed Jan 05 18:52:48 2011 +0530
+++ b/taskapp/forms/task.py	Wed Jan 05 22:22:10 2011 +0530
@@ -45,11 +45,11 @@
         except Task.DoesNotExist:
             return data
 
-def AddMentorForm(choices,instance=None):
+def AddReviewerForm(choices,instance=None):
     """ return a form object with appropriate choices """
     
     class myform(forms.Form):
-        mentor = forms.ChoiceField(choices=choices, required=True)
+        reviewer = forms.ChoiceField(choices=choices, required=True)
     form = myform(instance) if instance else myform()
     return form