Chris Ryland wrote: > I'm a relative Django newbie, but I think you need to use something > like > > >> Entry.entrystatus_set.filter(entrystatus__user=3) > > since the ForeignKey is on the EntryStatus model rather than the Entry > model.
Thanks Chris, but as far as I know you can't use entrystatus_set from the Entry class, only from a specific instance of the class. Anyone else? :-) -- Cathy http://www.bentbacktulips.co.uk/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---