Good day to you all, Im using q = Person.objects.filter(pk=query)
and i have this inside a FOR statement. So every time the loop starts again q gets rewritten instead of adding the new objects. for stuff in box: for thing in things: if stuff==thing: q = Person.objects.filter(pk=thing) Please can someone help me with this. I have looked alot on django query references and djangobook but dont know what to do. I dont want to store the objects in a list because I think there must be a way to do this like merging or joining queries. I would need to get the query added to the next one on each loop instad of overwritting it any advice is welcome.... thedja --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---