--- a/app/soc/views/models/student_proposal.py Wed Apr 08 22:21:30 2009 +0000
+++ b/app/soc/views/models/student_proposal.py Wed Apr 08 22:21:50 2009 +0000
@@ -243,7 +243,10 @@
'passthrough': ['min_value', 'required', 'help_text'],
},
{'name': 'mentor',
- 'base': forms.CharField,
+ 'base': widgets.ReferenceField,
+ 'passthrough': ['reference_url', 'required', 'label', 'filter'],
+ 'reference_url': 'mentor',
+ 'filter': ['__org__'],
'label': 'Assign Mentor (Link ID)',
'required': False,
'help_text': 'Fill in the Link ID of the Mentor '