Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…atabase

sorts NULLs first or last in a sequence or results.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8054 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit d1ea8b2842a9d1fd54c799e9f374d6b53931942e 1 parent 8745bec
@malcolmt malcolmt authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/regressiontests/queries/models.py
View
4 tests/regressiontests/queries/models.py
@@ -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())
+3
"""}
Please sign in to comment.
Something went wrong with that request. Please try again.