I'm not in a position to run these tests to determine if the
{{{greatest_fan}}} value can be set to something other than NULL.
--
Ticket URL: <https://code.djangoproject.com/ticket/21099>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
It might be worth wrapping setUp(), or the entire class with a
{{{can_distinct_on_fields}}} check to avoid doing the test prep work for
every backend other than postgresql_psycopg2.
--
Ticket URL: <https://code.djangoproject.com/ticket/21099#comment:1>
* stage: Unreviewed => Accepted
Comment:
Wrapping the whole class seems like the correct solution to me.
--
Ticket URL: <https://code.djangoproject.com/ticket/21099#comment:2>
* has_patch: 0 => 1
Comment:
https://github.com/django/django/pull/1622
--
Ticket URL: <https://code.djangoproject.com/ticket/21099#comment:3>
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/21099#comment:4>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"018037736fe575307f5331ebb4b126a0c886ecef"]:
{{{
#!CommitTicketReference repository=""
revision="018037736fe575307f5331ebb4b126a0c886ecef"
Fixed #21099 - Skip DistinctOnTests unless backend can_distinct_on_fields
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/21099#comment:5>
Comment (by Claude Paroz <claude@…>):
In [changeset:"e4c6fca6d21f6a6d16bd69d86928270b4d2d38fb"]:
{{{
#!CommitTicketReference repository=""
revision="e4c6fca6d21f6a6d16bd69d86928270b4d2d38fb"
Merge pull request #1622 from manfre/ticket-21099
Fixed #21099 - Skip DistinctOnTests unless backend
can_distinct_on_field...
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/21099#comment:6>