hi francesco cesco wrote: > I have two QuerySets and I need to join them to pass them as first > parameter to the ObjectPaginator class. > How can I do that? > The "+" operator doesn't work (like it does for lists) and there is no > a method like the list one "extend()".
you can use the bitwise operators '&' and '|', '&' will give you intersection and '|' will give you union qs & otherqs = intersection qs | otherqs = union best jake --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---