I want that only dogs (no other animals from other groups) are listed in the foreignkey drop down box for the representative_animal (which would be all animals without modification) when I'm editing the AnimalGroup dogs.
I finally hacked something together with the threadlocals middleware, which is I found here: http://stackoverflow.com/questions/160009/django-model-limitchoicestouser-user see cookbook link on the bottom Perhaps the patch at 2445 ( http://code.djangoproject.com/ticket/2445 ) would also work but I don't wanted to patch django. yves --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---