I have a ForeignKey field with the option: limit_choices_to = {'team__id': Game.objects.get(pk=1).visitor_team.id}
This class is coded to be edited inline by another class. When I use the limit_choices_to option above, I can access the class directly, but not through the other class. When I change the limit_choices_to to something more basic, like limit_choices_to = {'team__id': 1} then I can edit the class inline again. How can I keep the inline-edited behavior and the complicated limit_choices_to? Is this a bug in Django? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---