Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Changed the test from [8052] so that it is insensitive to whether a d…


sorts NULLs first or last in a sequence or results.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 8745bec commit d1ea8b2842a9d1fd54c799e9f374d6b53931942e @malcolmt malcolmt committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/regressiontests/queries/
4 tests/regressiontests/queries/
@@ -833,8 +833,8 @@ class Related(models.Model):
Bug #7791 -- there were "issues" when ordering and distinct-ing on fields
related via ForeignKeys.
->>> Note.objects.order_by('extrainfo__info').distinct()
-[<Note: n3>, <Note: n1>, <Note: n2>]
+>>> len(Note.objects.order_by('extrainfo__info').distinct())

0 comments on commit d1ea8b2

Please sign in to comment.
Something went wrong with that request. Please try again.