kriwil
9/3/2014 - 5:50 AM

gistfile1.txt

...
super(PaymentForm, self).__init__(*args, **kwargs)
lab_choice = Lab.objects.all().values_list('pk', 'name')
self.fields['lab'].choices = lab_choice
...