<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/django/db/models/sql/constants.py, branch 4.0.4</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=4.0.4</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=4.0.4'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2022-02-08T11:15:38Z</updated>
<entry>
<title>[4.0.x] Refs #33476 -- Reformatted code with Black.</title>
<updated>2022-02-08T11:15:38Z</updated>
<author>
<name>django-bot</name>
<email>ops@djangoproject.com</email>
</author>
<published>2022-02-08T11:09:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=6a682b38e75d4c975b4c4493565a59f1bc14397c'/>
<id>urn:sha1:6a682b38e75d4c975b4c4493565a59f1bc14397c</id>
<content type='text'>
Backport of 9c19aff7c7561e3a82978a272ecdaad40dda5c00 from main.
</content>
</entry>
<entry>
<title>Fixed #31426 -- Added proper field validation to QuerySet.order_by().</title>
<updated>2020-04-06T08:19:49Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2020-04-05T19:45:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=513948735b799239f3ef8c89397592445e1a0cd5'/>
<id>urn:sha1:513948735b799239f3ef8c89397592445e1a0cd5</id>
<content type='text'>
Resolve the field reference instead of using fragile regex based string
reference validation.
</content>
</entry>
<entry>
<title>Fixed #30899 -- Lazily compiled import time regular expressions.</title>
<updated>2019-10-29T08:22:26Z</updated>
<author>
<name>Hasan Ramezani</name>
<email>hasan.r67@gmail.com</email>
</author>
<published>2019-10-26T14:42:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=e3d0b4d5501c6d0bc39f035e4345e5bdfde12e41'/>
<id>urn:sha1:e3d0b4d5501c6d0bc39f035e4345e5bdfde12e41</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #26184 -- Allowed using any lookups in ModelAdmin.search_fields.</title>
<updated>2017-11-19T00:33:52Z</updated>
<author>
<name>Krzysztof Nazarewski</name>
<email>nazarewk@gmail.com</email>
</author>
<published>2017-07-05T11:00:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=244cc401559e924355cf943b6b8e66ccf2f6da3a'/>
<id>urn:sha1:244cc401559e924355cf943b6b8e66ccf2f6da3a</id>
<content type='text'>
Thanks Krzysztof Nazarewski for the initial patch.
</content>
</entry>
<entry>
<title>Fixed #24020 -- Refactored SQL compiler to use expressions</title>
<updated>2015-01-08T19:07:54Z</updated>
<author>
<name>Anssi Kääriäinen</name>
<email>akaariai@gmail.com</email>
</author>
<published>2014-12-01T07:28:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=0c7633178fa9410f102e4708cef979b873bccb76'/>
<id>urn:sha1:0c7633178fa9410f102e4708cef979b873bccb76</id>
<content type='text'>
Refactored compiler SELECT, GROUP BY and ORDER BY generation.
While there, also refactored select_related() implementation
(get_cached_row() and get_klass_info() are now gone!).

Made get_db_converters() method work on expressions instead of
internal_type. This allows the backend converters to target
specific expressions if need be.

Added query.context, this can be used to set per-query state.

Also changed the signature of database converters. They now accept
context as an argument.
</content>
</entry>
<entry>
<title>Fixed #23853 -- Added Join class to replace JoinInfo</title>
<updated>2014-11-28T12:30:26Z</updated>
<author>
<name>Anssi Kääriäinen</name>
<email>akaariai@gmail.com</email>
</author>
<published>2014-11-17T08:26:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=ab89414f40db1598364a7fe4cfac1766cacd2668'/>
<id>urn:sha1:ab89414f40db1598364a7fe4cfac1766cacd2668</id>
<content type='text'>
Also removed Query.join_map. This structure was used to speed up join
reuse calculation. Initial benchmarking shows that this isn't actually
needed. If there are use cases where the removal has real-world
performance implications, it should be relatively straightforward to
reintroduce it as map {alias: [Join-like objects]}.
</content>
</entry>
<entry>
<title>Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282.</title>
<updated>2014-09-28T17:01:38Z</updated>
<author>
<name>Thomas Chaumeny</name>
<email>thomas.chaumeny@polyconseil.fr</email>
</author>
<published>2014-09-26T12:31:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=b2aad7b836bfde012756cca69291c14d2fdbd334'/>
<id>urn:sha1:b2aad7b836bfde012756cca69291c14d2fdbd334</id>
<content type='text'>
Thanks Collin Anderson for the review.
</content>
</entry>
<entry>
<title>Made SQLCompiler.execute_sql(result_type) more explicit.</title>
<updated>2014-02-02T17:47:06Z</updated>
<author>
<name>Michael Manfre</name>
<email>mmanfre@gmail.com</email>
</author>
<published>2014-01-09T04:31:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=0837eacc4e1fa7916e48135e8ba43f54a7a64997'/>
<id>urn:sha1:0837eacc4e1fa7916e48135e8ba43f54a7a64997</id>
<content type='text'>
Updated SQLUpdateCompiler.execute_sql to match the behavior described in
the docstring; the 'first non-empty query' will now include all queries,
not just the main and first related update.

Added CURSOR and NO_RESULTS result_type constants to make the usages more
self documenting and allow execute_sql to explicitly close the cursor when
it is no longer needed.
</content>
</entry>
<entry>
<title>Fixed #19385 again, now with real code changes</title>
<updated>2013-03-24T16:40:40Z</updated>
<author>
<name>Anssi Kääriäinen</name>
<email>akaariai@gmail.com</email>
</author>
<published>2013-03-24T16:40:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=97774429aeb54df4c09895c07cd1b09e70201f7d'/>
<id>urn:sha1:97774429aeb54df4c09895c07cd1b09e70201f7d</id>
<content type='text'>
The commit of 266de5f9ae9e9f2fbfaec3b7e4b5fb9941967801 included only
tests, this time also code changes included...
</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>
</feed>
