ChoiceField or CharField in django form

Posted by Will M. on Stack Overflow See other posts from Stack Overflow or by Will M.
Published on 2010-03-19T15:21:44Z Indexed on 2010/03/19 17:01 UTC
Read the original article Hit count: 312

Filed under:

I have a CharField in the model that needs to be selected by a ChoiceField. If the user's choice is not in the choice field then they'd select "other" and be able to type in a text input. How can I do this? I don't need the javascript; just the help with the django part.

© Stack Overflow or respective owner

Related posts about django