Yes, They are defined in model as owner = models.ForeignKey(Participant,null=True)
all I want is to display only the Partcipants for a particular group in the choice field ( not all participants) and I am so frustrated now. eg. Participant.objects.filter(group__exact=my_group)] thanks Ashish On Apr 9, 2:15 pm, "James Bennett" <[EMAIL PROTECTED]> wrote: > On Wed, Apr 9, 2008 at 3:30 PM, ydjango <[EMAIL PROTECTED]> wrote: > > Miles and Owner are defined as foreign_key to respective tables. > > Yes, but did you actually look at the docs for the field types that > make it easy to represent foreign keys? > > -- > "Bureaucrat Conrad, you are technically correct -- the best kind of correct. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---