Hi friends, someone has worked with django-ajax-filtered-fields? I'm having
problems with ManyToManyByRelatedField. The syntax is very simple, I think
that it isn't the problem.
I have an "Author" class that it has a ForeignKey field named "type", and I
want to filter for this field in the form.
In my forms.py I wrote: author = ManyToManyByRelatedField(Author, "type")
and I'm using ajax_filtered_fields.js and jquery.js files.
Two boxes displays in the form (Availables and Selected), and on the top of
"Available" box, I can see the values that the "type" field could take (in
this case, Individual and Corporative). But when I select one of options,
the "Availables" box is empty, it couldn't filter. Why? Missing any file to
include? There is a syntax error in my forms.py?
Thanks,
Sandra

-- 
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.

Reply via email to