Hi,

In the context of using
django-smart-selects<https://github.com/digi604/django-smart-selects>:
as anyone stumbled on an issue with a Model using ChainedFK and if the
queryset of chained_field in the ModelForm is changed before  rendering?

ie., if person is the chained_field in my form and I changed its queryset
before rendering as follows, then the dependent dropdowns do not get
populated while the form is rendered.

form.fields['person'].queryset = this_dept.get_persons()

regards,
Venkat

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAN7tdFQnk-OWyy5jakaSZEEprNrZG7dRHaKCkuWT00Z5B5KHQg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to