Sean I hear what you say - but is this approach also readily available inside the Admin framework?
Derek On 16 November 2010 16:20, Shawn Milochik <sh...@milochik.com> wrote: > On Tue, Nov 16, 2010 at 9:08 AM, derek <gamesb...@gmail.com> wrote: > > " 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. > > > > While this is the case, there's no reason you can't just accept and > validate the input yourself, and not make use of a Django forms.Form. > It's annoying, but nothing compared to writing, say, PHP or ASP > without a framework. > > Hmmm. I think I'll search the tickets and see if some kind of "choices > = any" proposal has been made already. > > 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<django-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- 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.