Created
September 3, 2014 05:50
-
-
Save kriwil/12d2302f17fe13ba05bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
super(PaymentForm, self).__init__(*args, **kwargs) | |
lab_choice = Lab.objects.all().values_list('pk', 'name') | |
self.fields['lab'].choices = lab_choice | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment