Skip to content

Commit

Permalink
Merge pull request #33 from leehosung/master
Browse files Browse the repository at this point in the history
remove duplicated assign
  • Loading branch information
yashrastogi16 committed Jul 23, 2018
2 parents d45c71c + 9fbc0b2 commit 2af0876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/union.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Let's continue with our :code:`auth_user` model and generate 2 querysets to perf
>>> q1 = User.objects.filter(id__gte=5)
>>> q1
<QuerySet [<User: Ritesh>, <User: Billy>, <User: Radha>, <User: sohan>, <User: Raghu>, <User: rishab>]>
>>> q2 = q2 = User.objects.filter(id__lte=9)
>>> q2 = User.objects.filter(id__lte=9)
>>> q2
<QuerySet [<User: yash>, <User: John>, <User: Ricky>, <User: sharukh>, <User: Ritesh>, <User: Billy>, <User: Radha>, <User: sohan>, <User: Raghu>]>
>>> q1.union(q2)
Expand Down

0 comments on commit 2af0876

Please sign in to comment.