1
0
mirror of https://github.com/django/django.git synced 2024-12-24 18:16:19 +00:00
django/tests/regressiontests/select_related_regress
Ramiro Morales 287565779d Added support for modifying the effect of `DISTINCT` clauses so they
only consider some fields (PostgreSQL only).

For this, the ``distinct()`` QuerySet method now accepts an optional
list of model fields names and generates ``DISTINCT ON`` clauses on
these cases. Thanks Jeffrey Gelens and Anssi Kääriäinen for their work.

Fixes #6422.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17244 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-22 20:42:40 +00:00
..
__init__.py
models.py Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
tests.py Added support for modifying the effect of `DISTINCT` clauses so they 2011-12-22 20:42:40 +00:00