Wednesday, February 27, 2013

I need a form that allows users to select from a list of choices, or add a new choice.

I need a widget or a method that allows users to select items from a list of choices, or add a new choice.   Someone on stackoverflow asked the same question, and got a kludgy answer:

http://stackoverflow.com/questions/14802167/how-do-i-make-a-django-choicefield-accept-both-preset-choices-and-the-addition-

There should be a better way than this.  Thanks.

- Mark 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment