diff options
| author | Ramiro Morales <cramm0@gmail.com> | 2011-12-22 20:42:40 +0000 |
|---|---|---|
| committer | Ramiro Morales <cramm0@gmail.com> | 2011-12-22 20:42:40 +0000 |
| commit | 287565779d3ae4d3229ecbb2ff356c79b920e7d0 (patch) | |
| tree | 0506c13450b672b18bf407e45e3bfc82e90709b6 /tests/regressiontests/admin_scripts | |
| parent | 03eb2907d5e3d600964836287e9d3f48ec7ec667 (diff) | |
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
Diffstat (limited to 'tests/regressiontests/admin_scripts')
0 files changed, 0 insertions, 0 deletions
