class ReportForm(forms.Form):
college = forms.ChoiceField(required=True, widget=forms.Select, choices=(),)
def set_choices(self):
colleges = College.objects.all()
self.fields['college'].choices = ()
for college in colleges:
self.fields['college'].choices += [(college.id, college.collegename)]