On 12/19/05, patrick kranzlmüller <[EMAIL PROTECTED]> wrote: > this works fine: > milestone_list = milestones.get_list(id__exact=3, order_by=['-id']) > > this doesn´t: > milestone_list = milestones.get_list(responsible__exact=1, > order_by=['-id']) > > the model looks like; > responsible = meta.ForeignKey(auth.User)
Try this: milestone_list = milestones.get_list(responsible__id__exact=1) You can also do something like this: milestone_list = milestones.get_list(responsible__username__exact='patrick') Adrian -- Adrian Holovaty holovaty.com | djangoproject.com | chicagocrime.org