django1/django/db/backends
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
..
dummy Fixed #3615: Added support for loading fixtures with forward references on database backends (such as MySQL/InnoDB) that do not support deferred constraint checking. Many thanks to jsdalton for coming up with a clever solution to this long-standing issue, and to jacob, ramiro, graham_king, and russellm for review/testing. (Apologies if I missed anyone else who helped here.) 2011-08-07 00:43:26 +00:00
mysql Added support for time zones. Thanks Luke Plant for the review. Fixed #2626. 2011-11-18 13:01:06 +00:00
oracle Simplified time zone support in the Oracle backend. Avoided outputtypehandler which doesn't exist in cx_Oracle < 4.4.1. 2011-12-07 08:43:30 +00:00
postgresql_psycopg2 Added support for modifying the effect of ``DISTINCT`` clauses so they 2011-12-22 20:42:40 +00:00
sqlite3 Ensured that thread-shareability gets validated when closing a PostgreSQL or SQLite connection. Refs #17258. 2011-12-16 17:02:41 +00:00
__init__.py Added support for modifying the effect of ``DISTINCT`` clauses so they 2011-12-22 20:42:40 +00:00
creation.py Fixed #15255 -- Ensured createcachetable honors database routers. 2011-11-19 19:56:31 +00:00
signals.py Fixed #13798 -- Added connection argument to the connection_created signal. Thanks to liangent for the report, and Alex Gaynor for the patch. 2010-08-30 13:21:18 +00:00
util.py Added support for time zones. Thanks Luke Plant for the review. Fixed #2626. 2011-11-18 13:01:06 +00:00