Undid superfluas replacement of .name() with .name_or_id()
authorSverre Rabbelier <srabbelier@gmail.com>
Mon, 13 Apr 2009 21:32:12 +0000
changeset 2179 efc3a50a81ef
parent 2178 1d27b489e7e4
child 2180 7b8dcd7aab75
Undid superfluas replacement of .name() with .name_or_id() Patch by: Sverre Rabbelier
app/soc/views/models/student_proposal.py
--- a/app/soc/views/models/student_proposal.py	Mon Apr 13 16:31:36 2009 +0000
+++ b/app/soc/views/models/student_proposal.py	Mon Apr 13 21:32:12 2009 +0000
@@ -898,7 +898,7 @@
 
       for mentor_key in possible_mentors:
         possible_mentor = mentor_logic.logic.getFromKeyName(mentor_key.id_or_name())
-        mentor_names.append(possible_mentor.id_or_name())
+        mentor_names.append(possible_mentor.name())
 
       context['possible_mentors'] = ', '.join(mentor_names)