" you'll have to have all the states/provinces as 'choices' in the ChoiceField in the form, otherwise the form won't validate."
Yup, this is a "real" gotcha. IMO, its not really true filtering if you take this approach, as the initial form will still load the X million items, even though the user will only be shown a fraction at a time. On Nov 15, 6:39 pm, Shawn Milochik <sh...@milochik.com> wrote: > You'll need to use AJAX for this, or refresh the entire page. > > Be aware that you'll have to have all the states/provinces as > 'choices' in the ChoiceField in the form, otherwise the form won't > validate. > > As for examples, just do a quick Google search. The easiest way (in my > opinion) is to use jQuery for the AJAX and have views in your Django > project that receives the request from jQuery and returns JSON. > > Shawn -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.