I have mod_python and I'm using ModelChoiceField, but I'm not getting
the expected results, when I change my queryset and the second has
elements not present on the original queryset, it displays the choices
but doesn't validate properly, complaining about the option not being
valid for the set.  Anyone has had this behavior? I'm on 7028
geodjango branch.

On 24 ene, 23:54, Nathaniel Whiteinge <[EMAIL PROTECTED]> wrote:
> ModelChoiceField. Currently not documented, but here's example code.
> Use your browser's find for "ModelChoiceField".
>
> http://www.djangoproject.com/documentation/models/model_forms/
>
> On Jan 24, 9:47 pm, shabda <[EMAIL PROTECTED]> wrote:
>
> > I want to use the ChoiceField to show choices depending on a query
> > set. For exmple the ChoiceField must get all active Users and them
> > show them in a drop down, something like what happens in Admin. How
> > can I do that?
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to