Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add breaking test indicating bug with distinct().order_by(some_field) #203

Closed
wants to merge 2 commits into from

Conversation

wadevries
Copy link

No description provided.

Distinct() without field names will remove duplicate rows, but there are none in this case (because no joins).
@coveralls
Copy link

coveralls commented Mar 13, 2020

Pull Request Test Coverage Report for Build 951

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 934: 0.0%
Covered Lines: 139
Relevant Lines: 139

💛 - Coveralls

@peterfarrell
Copy link
Collaborator

@wadevries I'd like to accept this PR but it doesn't pass CI -- looks like your test fails on Django below 3.x. We are moving to support Django 2.2+ and higher now.

@wadevries
Copy link
Author

@peterfarrell sorry for the reply-delay. The not-passing of the CI was expected. I created this PR to demonstrate a supposed bug by adding a breaking test. See my comment (and @maxpeterson 's response) in #204 . I'll close this PR as the issue appears to be a known, documented limitation.

@wadevries wadevries closed this Jan 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants