0

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.

2
  • Welcome to SO. If this is a self-answered question, you should write the question and answer separately ("Q & A style"). Commented Aug 25, 2015 at 18:51
  • Thanks for that. Noted. Commented Aug 27, 2015 at 17:44

1 Answer 1

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='') 
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.