On Sat, Jul 07, 2012 at 08:25:54PM -0700, Lee Hinde wrote:
What I'm noticing is that (in dev mode) the choice list for
'employment_status' doesn't update unless I trigger a change, either
to the forms.py or restart the dev server.
I'm wondering if there's a better place to handle this.
Lee,
Here are some examples of the solution to your problem:
http://ilian.i-n-i.org/django-forms-choicefield-with-dynamic-values/
http://stackoverflow.com/questions/3419997/creating-a-dynamic-choice-field
You can do a web search on "form choicefield dynamic" for other
discussions on the same topic.
me
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.