<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/tests/modeltests/aggregation/tests.py, branch stable/4.2.x</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=stable%2F4.2.x</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=stable%2F4.2.x'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2013-02-26T13:36:57Z</updated>
<entry>
<title>Merged regressiontests and modeltests into the test root.</title>
<updated>2013-02-26T13:36:57Z</updated>
<author>
<name>Florian Apolloner</name>
<email>florian@apolloner.eu</email>
</author>
<published>2013-02-26T08:53:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=89f40e36246100df6a11316c31a76712ebc6c501'/>
<id>urn:sha1:89f40e36246100df6a11316c31a76712ebc6c501</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #17260 -- Added time zone aware aggregation and lookups.</title>
<updated>2013-02-16T08:19:04Z</updated>
<author>
<name>Aymeric Augustin</name>
<email>aymeric.augustin@m4x.org</email>
</author>
<published>2013-02-10T15:15:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=e74e207cce54802f897adcb42149440ee154821e'/>
<id>urn:sha1:e74e207cce54802f897adcb42149440ee154821e</id>
<content type='text'>
Thanks Carl Meyer for the review.

Squashed commit of the following:

commit 4f290bdb60b7d8534abf4ca901bd0844612dcbda
Author: Aymeric Augustin &lt;aymeric.augustin@m4x.org&gt;
Date:   Wed Feb 13 21:21:30 2013 +0100

    Used '0:00' instead of 'UTC' which doesn't always exist in Oracle.

    Thanks Ian Kelly for the suggestion.

commit 01b6366f3ce67d57a58ca8f25e5be77911748638
Author: Aymeric Augustin &lt;aymeric.augustin@m4x.org&gt;
Date:   Wed Feb 13 13:38:43 2013 +0100

    Made tzname a parameter of datetime_extract/trunc_sql.

    This is required to work around a bug in Oracle.

commit 924a144ef8a80ba4daeeafbe9efaa826566e9d02
Author: Aymeric Augustin &lt;aymeric.augustin@m4x.org&gt;
Date:   Wed Feb 13 14:47:44 2013 +0100

    Added support for parameters in SELECT clauses.

commit b4351d2890cd1090d3ff2d203fe148937324c935
Author: Aymeric Augustin &lt;aymeric.augustin@m4x.org&gt;
Date:   Mon Feb 11 22:30:22 2013 +0100

    Documented backwards incompatibilities in the two previous commits.

commit 91ef84713c81bd455f559dacf790e586d08cacb9
Author: Aymeric Augustin &lt;aymeric.augustin@m4x.org&gt;
Date:   Mon Feb 11 09:42:31 2013 +0100

    Used QuerySet.datetimes for the admin's date_hierarchy.

commit 0d0de288a5210fa106cd4350961eb2006535cc5c
Author: Aymeric Augustin &lt;aymeric.augustin@m4x.org&gt;
Date:   Mon Feb 11 09:29:38 2013 +0100

    Used QuerySet.datetimes in date-based generic views.

commit 9c0859ff7c0b00734afe7fc15609d43d83215072
Author: Aymeric Augustin &lt;aymeric.augustin@m4x.org&gt;
Date:   Sun Feb 10 21:43:25 2013 +0100

    Implemented QuerySet.datetimes on Oracle.

commit 68ab511a4ffbd2b811bf5da174d47e4dd90f28fc
Author: Aymeric Augustin &lt;aymeric.augustin@m4x.org&gt;
Date:   Sun Feb 10 21:43:14 2013 +0100

    Implemented QuerySet.datetimes on MySQL.

commit 22d52681d347a8cdf568dc31ed032cbc61d049ef
Author: Aymeric Augustin &lt;aymeric.augustin@m4x.org&gt;
Date:   Sun Feb 10 21:42:29 2013 +0100

    Implemented QuerySet.datetimes on SQLite.

commit f6800fd04c93722b45f9236976389e0b2fe436f5
Author: Aymeric Augustin &lt;aymeric.augustin@m4x.org&gt;
Date:   Sun Feb 10 21:43:03 2013 +0100

    Implemented QuerySet.datetimes on PostgreSQL.

commit 0c829c23f4cf4d6804cadcc93032dd4c26b8c65e
Author: Aymeric Augustin &lt;aymeric.augustin@m4x.org&gt;
Date:   Sun Feb 10 21:41:08 2013 +0100

    Added datetime-handling infrastructure in the ORM layers.

commit 104d82a7778cf3f0f5d03dfa53709c26df45daad
Author: Aymeric Augustin &lt;aymeric.augustin@m4x.org&gt;
Date:   Mon Feb 11 10:05:55 2013 +0100

    Updated null_queries tests to avoid clashing with the __second lookup.

commit c01bbb32358201b3ac8cb4291ef87b7612a2b8e6
Author: Aymeric Augustin &lt;aymeric.augustin@m4x.org&gt;
Date:   Sun Feb 10 23:07:41 2013 +0100

    Updated tests of .dates().

    Replaced .dates() by .datetimes() for DateTimeFields.
    Replaced dates with datetimes in the expected output for DateFields.

commit 50fb7a52462fecf0127b38e7f3df322aeb287c43
Author: Aymeric Augustin &lt;aymeric.augustin@m4x.org&gt;
Date:   Sun Feb 10 21:40:09 2013 +0100

    Updated and added tests for QuerySet.datetimes.

commit a8451a5004c437190e264667b1e6fb8acc3c1eeb
Author: Aymeric Augustin &lt;aymeric.augustin@m4x.org&gt;
Date:   Sun Feb 10 22:34:46 2013 +0100

    Documented the new time lookups and updated the date lookups.

commit 29413eab2bd1d5e004598900c0dadc0521bbf4d3
Author: Aymeric Augustin &lt;aymeric.augustin@m4x.org&gt;
Date:   Sun Feb 10 16:15:49 2013 +0100

    Documented QuerySet.datetimes and updated QuerySet.dates.
</content>
</entry>
<entry>
<title>Fixed #18056 - Cleared aggregations on DateQuery.add_date_select</title>
<updated>2012-07-16T16:52:31Z</updated>
<author>
<name>Nuno Maltez</name>
<email>nuno@cognitiva.com</email>
</author>
<published>2012-07-16T16:52:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=bebbbb7af096ecffc0d7585617fdfacb196bc7c2'/>
<id>urn:sha1:bebbbb7af096ecffc0d7585617fdfacb196bc7c2</id>
<content type='text'>
Cleared aggregations on add_date_select method so only distinct dates
are returned when dealing with a QuerySet that contained aggregations.
That would cause the query set to return repeated dates because it
would look for distinct (date kind, aggregation) pairs.
</content>
</entry>
<entry>
<title>Fixed #18269 -- Applied unicode_literals for Python 3 compatibility.</title>
<updated>2012-06-07T16:08:47Z</updated>
<author>
<name>Claude Paroz</name>
<email>claude@2xlibre.net</email>
</author>
<published>2012-06-07T16:08:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=4a103086d5c67fa4fcc53c106c9fdf644c742dd8'/>
<id>urn:sha1:4a103086d5c67fa4fcc53c106c9fdf644c742dd8</id>
<content type='text'>
Thanks Vinay Sajip for the support of his django3 branch and
Jannis Leidel for the review.
</content>
</entry>
<entry>
<title>Renamed the fixtures used by the aggregation tests so they're only loaded by the tests that use them. Refs #17275.</title>
<updated>2011-11-27T10:31:26Z</updated>
<author>
<name>Aymeric Augustin</name>
<email>aymeric.augustin@m4x.org</email>
</author>
<published>2011-11-27T10:31:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=02bc523b89ae6fb37c26ce8d6424cb84751ad3ac'/>
<id>urn:sha1:02bc523b89ae6fb37c26ce8d6424cb84751ad3ac</id>
<content type='text'>
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17153 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
<entry>
<title>Convert all modeltests to use absolute imports, rather than relative ones.</title>
<updated>2011-10-13T18:04:12Z</updated>
<author>
<name>Alex Gaynor</name>
<email>alex.gaynor@gmail.com</email>
</author>
<published>2011-10-13T18:04:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=d5a45d79fe03cad93ab5761860e9bb6fc1db4c86'/>
<id>urn:sha1:d5a45d79fe03cad93ab5761860e9bb6fc1db4c86</id>
<content type='text'>
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16975 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
<entry>
<title>Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:</title>
<updated>2011-03-03T15:04:39Z</updated>
<author>
<name>Russell Keith-Magee</name>
<email>russell@keith-magee.com</email>
</author>
<published>2011-03-03T15:04:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=afd040d4d3a06fe92e3080870b2ff2095ce86a75'/>
<id>urn:sha1:afd040d4d3a06fe92e3080870b2ff2095ce86a75</id>
<content type='text'>
 assert_ -&gt; assertTrue
 assertEquals -&gt; assertEqual
 failUnless -&gt; assertTrue

For full details, see http://www.voidspace.org.uk/python/articles/unittest2.shtml#deprecations

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15728 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
<entry>
<title>Fixed #13895 -- Refactored aggregation_regress doctests. Thanks to Alex Gaynor for the patch.</title>
<updated>2010-08-20T14:28:42Z</updated>
<author>
<name>Russell Keith-Magee</name>
<email>russell@keith-magee.com</email>
</author>
<published>2010-08-20T14:28:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=1bf25e9bc6df6c2ae4c0b10fb839e101471e8373'/>
<id>urn:sha1:1bf25e9bc6df6c2ae4c0b10fb839e101471e8373</id>
<content type='text'>
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13614 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
<entry>
<title>Fixed #13634 -- Migrated aggregation tests to use unittest. This removes a flush, which speeds up the tests overall.</title>
<updated>2010-05-28T11:15:36Z</updated>
<author>
<name>Russell Keith-Magee</name>
<email>russell@keith-magee.com</email>
</author>
<published>2010-05-28T11:15:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=526a4410d790f9b3923f7bac6fc4c1eff3b8fbf6'/>
<id>urn:sha1:526a4410d790f9b3923f7bac6fc4c1eff3b8fbf6</id>
<content type='text'>
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13309 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
</feed>
