--- 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