<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chango.git/tests/backends/models.py, branch devmain</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/chango.git/atom?h=devmain</id>
<link rel='self' href='http://cgit.adnoto.dev/chango.git/atom?h=devmain'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/'/>
<updated>2025-02-01T17:43:10Z</updated>
<entry>
<title>Fixed #36088 -- Avoided unnecessary DEFAULT usage on bulk_create().</title>
<updated>2025-02-01T17:43:10Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2024-12-09T23:38:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=4608d34b346c28d5d227363c881d3279378f40b3'/>
<id>urn:sha1:4608d34b346c28d5d227363c881d3279378f40b3</id>
<content type='text'>
When all values of a field with a db_default are DatabaseDefault, which
is the case most of the time, there is no point in specifying explicit
DEFAULT for all INSERT VALUES as that's what the database will do anyway
if not specified.

In the case of PostgreSQL doing so can even be harmful as it prevents
the usage of the UNNEST strategy and in the case of Oracle, which
doesn't support the usage of the DEFAULT keyword, it unnecessarily
requires providing literal db defaults.

Thanks Lily Foote for the review.
</content>
</entry>
<entry>
<title>Fixed #35238 -- Fixed database serialization crash when base managers use prefetch_related().</title>
<updated>2024-02-20T21:14:17Z</updated>
<author>
<name>AlexCLeduc</name>
<email>ledualex@gmail.com</email>
</author>
<published>2024-02-19T22:36:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=a084c5d35a6d00abd261338a374a4424764b4aee'/>
<id>urn:sha1:a084c5d35a6d00abd261338a374a4424764b4aee</id>
<content type='text'>
Regression in 139135627650ed6aaaf4c755b82c3bd43f2b8f51
following deprecation in eedbf930287cb72e9afab1f7208c24b1146b0c4ec.
</content>
</entry>
<entry>
<title>Refs #33476 -- Reformatted code with Black.</title>
<updated>2022-02-07T19:37:05Z</updated>
<author>
<name>django-bot</name>
<email>ops@djangoproject.com</email>
</author>
<published>2022-02-03T19:24:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=9c19aff7c7561e3a82978a272ecdaad40dda5c00'/>
<id>urn:sha1:9c19aff7c7561e3a82978a272ecdaad40dda5c00</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #32158 -- Fixed loaddata crash on SQLite when table/column names are SQL keywords.</title>
<updated>2020-12-28T07:57:30Z</updated>
<author>
<name>Chinmoy Chakraborty</name>
<email>chinmoy12c@gmail.com</email>
</author>
<published>2020-12-28T05:45:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=270072c4c231acd72a03534357a4aa59010e76ff'/>
<id>urn:sha1:270072c4c231acd72a03534357a4aa59010e76ff</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #31762 -- Made reloading the database for tests use the base manager.</title>
<updated>2020-11-11T07:33:30Z</updated>
<author>
<name>Hasan Ramezani</name>
<email>hasan.r67@gmail.com</email>
</author>
<published>2020-11-10T22:22:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=50c3ac6fa9b7c8a94a6d1dc87edf775e3bc4d575'/>
<id>urn:sha1:50c3ac6fa9b7c8a94a6d1dc87edf775e3bc4d575</id>
<content type='text'>
Co-authored-by: Eugene Kulak &lt;kulak.eugene@gmail.com&gt;
</content>
</entry>
<entry>
<title>Refs #31051 -- Fixed reloading the database with circular related objects and natural keys for tests.</title>
<updated>2020-04-02T09:35:33Z</updated>
<author>
<name>Matthijs Kooijman</name>
<email>matthijs@stdin.nl</email>
</author>
<published>2019-12-02T00:16:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=289d0ec6fd4c7e3d68b8a8e4f833e719e3dbe205'/>
<id>urn:sha1:289d0ec6fd4c7e3d68b8a8e4f833e719e3dbe205</id>
<content type='text'>
Made deserialize_db_from_string() do not sort dependencies.

deserialize_db_from_string() doesn't use natural keys, so there is no
need to sort dependencies in serialize_db_to_string(). Moreover,
sorting models cause issues for circular dependencies.
</content>
</entry>
<entry>
<title>Refs #26552 -- Added test for reloading the database with self-referential objects.</title>
<updated>2020-04-02T07:17:41Z</updated>
<author>
<name>Matthijs Kooijman</name>
<email>matthijs@stdin.nl</email>
</author>
<published>2019-12-02T00:16:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=12e6f573adbf825c74042f15b70600341220674b'/>
<id>urn:sha1:12e6f573adbf825c74042f15b70600341220674b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #26552 -- Deferred constraint checks when reloading the database with data for tests.</title>
<updated>2020-02-14T12:18:06Z</updated>
<author>
<name>Matthijs Kooijman</name>
<email>matthijs@stdin.nl</email>
</author>
<published>2019-12-01T23:42:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=98f23a8af0be7e87535426c5c83058e2682bfdf8'/>
<id>urn:sha1:98f23a8af0be7e87535426c5c83058e2682bfdf8</id>
<content type='text'>
deserialize_db_from_string() loads the full serialized database
contents, which might contain forward references and cycles. That
caused IntegrityError because constraints were checked immediately.

Now, it loads data in a transaction with constraint checks deferred
until the end of the transaction.
</content>
</entry>
<entry>
<title>Refs #29444 -- Allowed returning multiple fields from INSERT statements on PostgreSQL.</title>
<updated>2019-09-09T08:51:14Z</updated>
<author>
<name>Johannes Hoppe</name>
<email>info@johanneshoppe.com</email>
</author>
<published>2019-07-24T06:42:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=7254f1138d9c51fa558229c39c9559b369c4278a'/>
<id>urn:sha1:7254f1138d9c51fa558229c39c9559b369c4278a</id>
<content type='text'>
Thanks Florian Apolloner, Tim Graham, Simon Charette, Nick Pope, and
Mariusz Felisiak for reviews.
</content>
</entry>
<entry>
<title>Refs #29444 -- Added support for fetching a returned non-integer insert values on Oracle.</title>
<updated>2019-07-08T06:53:08Z</updated>
<author>
<name>Johannes Hoppe</name>
<email>info@johanneshoppe.com</email>
</author>
<published>2019-06-10T11:56:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=bc91f27a86090b4c688b56cd4e37f95eebe6e969'/>
<id>urn:sha1:bc91f27a86090b4c688b56cd4e37f95eebe6e969</id>
<content type='text'>
This is currently not actively used, since the ORM will ask the
SQL compiler to only return auto fields.
</content>
</entry>
</feed>
