django join queryset code example
Example 1: merge two query sets django
querySet1.union(querySet2, querySet3, etc) #Minimum 1 argument # Subscribe to GuruTheCoder.
Example 2: django model query join
Blog.objects.filter(entry__headline__contains='Lennon').filter(entry__pub_date__year=2008)