Looking for a way to indicate the string label for Django's autocomplete_light form fields and for some reason I couldn't find it in the documentation.
Asked
Active
Viewed 78 times
0
-
Welcome to SO. If this is a self-answered question, you should write the question and answer separately ("Q & A style"). – C8H10N4O2 Aug 25 '15 at 18:51
-
Thanks for that. Noted. – mavenmaven Aug 27 '15 at 17:44
1 Answers
1
So the answer was quite simple. I don't know how to do it within the autocomplete_light class itself but this is a completely suitable solution:
zip = autocomplete_light.ChoiceField('ZipAutocomplete',label='')

mavenmaven
- 11
- 2