It is returning a queryset. Check your code to make sure you're not converting it to a list or anything and check your models/managers to make sure you're not overriding stuff there.
In the future, you can do this: MyUser = User.objects.get(username='thisUsername') theQuery = Class.objects.filter(users__id=myUser.id) And you can use that like any other filter, so you could do __id__in, __username__contains, etc. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---