On Wednesday, February 27, 2013 11:28:50 AM UTC-5, Mark London wrote:
>
> 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
>
Take a look at SelectOrCreateField (and its widget) here:
http://lightbird.net/dbe2/issues.html#selectorcreatefield
The screenshot is here:
http://lightbird.net/dbe2/issues.html#addissues-template
-ak
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.