> At the moment, the easiest way I see to to that is to include a JS
> file that will catch the current member_id, then call an external page
> that will return a JSON string  of
> "Folder.objects.filter(member=member) " query_set and then build the
> wished multiselected box .. I'll try that way :p
>

FYI I did implement this limit choice to with ajax and javascript and
this is working well.

Item Folder Many-to-Many relationship is now define as (wich shown
coma separated id if no JS)

Folder = models.ManyToManyField(Folder,raw_id_admin=True,blank=True)

then I use a JS file and 2 ajax request to rebuild a multiselect
box :)

xav


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