<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chango.git/tests/model_fields/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>2026-03-16T15:53:25Z</updated>
<entry>
<title>Fixed #36906 -- Handled coalescing JSON-primitive strings and JSON values on Oracle.</title>
<updated>2026-03-16T15:53:25Z</updated>
<author>
<name>Kanin Kearpimy</name>
<email>kanin.kearpimy@gmail.com</email>
</author>
<published>2026-03-11T13:06:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=d7bf84324fb4b0789302bd0624697ba973dd7140'/>
<id>urn:sha1:d7bf84324fb4b0789302bd0624697ba973dd7140</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #36847 -- Ensured auto_now_add fields are set on pre_save().</title>
<updated>2026-01-29T13:11:33Z</updated>
<author>
<name>Nilesh Kumar Pahari</name>
<email>nileshpahari@protonmail.com</email>
</author>
<published>2026-01-25T18:32:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=fe189dc43ab3eddbbceefb6834893b73ca60d5ed'/>
<id>urn:sha1:fe189dc43ab3eddbbceefb6834893b73ca60d5ed</id>
<content type='text'>
Regression in 94680437a45a71c70ca8bd2e68b72aa1e2eff337. Refs #27222.

During INSERT operations, `field.pre_save()` is called to prepare values
for db insertion. The `add` param must be `True` for `auto_now_add`
fields to be populated. The regression commit passed `False`, causing
`auto_now_add` fields to remain `None` when used by other fields, such
as `upload_to` callables.

Thanks Ran Benita for the report.
</content>
</entry>
<entry>
<title>Fixed #36233 -- Avoided quantizing integers stored in DecimalField on SQLite.</title>
<updated>2026-01-28T22:04:39Z</updated>
<author>
<name>Samriddha9619</name>
<email>sumitkumartripathi0@gmail.com</email>
</author>
<published>2026-01-19T20:08:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=2831eaed797627e6e6410b06f74dadeb63316e09'/>
<id>urn:sha1:2831eaed797627e6e6410b06f74dadeb63316e09</id>
<content type='text'>
Co-authored-by: Simon Charette &lt;charette.s@gmail.com&gt;
Co-authored-by: Jacob Walls &lt;jacobtylerwalls@gmail.com&gt;
</content>
</entry>
<entry>
<title>Refs #36806 -- Removed unnecessary null=True from GeneratedField in test models.</title>
<updated>2025-12-23T01:38:55Z</updated>
<author>
<name>Nilesh Kumar Pahari</name>
<email>nileshpahari@protonmail.com</email>
</author>
<published>2025-12-22T22:23:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=968f3f96373e028f1486d135e38331fcd0e3a0ca'/>
<id>urn:sha1:968f3f96373e028f1486d135e38331fcd0e3a0ca</id>
<content type='text'>
Test coverage is preserved because the tests only verify that generated
fields can produce NULL values when the source field is nullable.

This addresses system check warnings in the test suite after
6025eab3c509b4de922117e16866bbfe0ee99aa6.
</content>
</entry>
<entry>
<title>Fixed #36765 -- Added support for stored GeneratedFields on Oracle 23ai/26ai (23.7+).</title>
<updated>2025-12-13T15:38:04Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2025-12-13T15:38:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=0174a85770356fd12e4c8daa42a4f1c752ae00e6'/>
<id>urn:sha1:0174a85770356fd12e4c8daa42a4f1c752ae00e6</id>
<content type='text'>
Thanks Jacob Walls for the review.</content>
</entry>
<entry>
<title>Fixed #35381 -- Added JSONNull() expression.</title>
<updated>2025-10-29T19:00:52Z</updated>
<author>
<name>Clifford Gama</name>
<email>cliffygamy@gmail.com</email>
</author>
<published>2025-08-07T15:26:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=adc25a9a6696f7e2ab6181aabce3a23e027d6703'/>
<id>urn:sha1:adc25a9a6696f7e2ab6181aabce3a23e027d6703</id>
<content type='text'>
Thanks Jacob Walls for the review.
</content>
</entry>
<entry>
<title>Refs #35167 -- Fixed test_bulk_update_custom_get_prep_value() crash on databases that don't support primitives in JSONFields.</title>
<updated>2025-02-20T07:14:18Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2025-02-19T21:13:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=7500044a825b3e6695f4f0f9e56d5bdc0c5d7988'/>
<id>urn:sha1:7500044a825b3e6695f4f0f9e56d5bdc0c5d7988</id>
<content type='text'>
For example on Oracle &lt; 21c.
</content>
</entry>
<entry>
<title>Fixed #35167 -- Delegated to super() in JSONField.get_db_prep_save().</title>
<updated>2025-02-18T16:28:24Z</updated>
<author>
<name>Jacob Walls</name>
<email>jacobtylerwalls@gmail.com</email>
</author>
<published>2025-02-17T02:35:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=0bf412111be686b6b23e00863f5d449d63557dbf'/>
<id>urn:sha1:0bf412111be686b6b23e00863f5d449d63557dbf</id>
<content type='text'>
Avoids reports of bulk_update() sending Cast expressions
to JSONField.get_prep_value().

Co-authored-by: Simon Charette &lt;charette.s@gmail.com&gt;
</content>
</entry>
<entry>
<title>Fixed #36086 -- Fixed crash when using GeneratedField with non-AutoField pk.</title>
<updated>2025-01-13T10:13:29Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2025-01-11T06:08:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=9e552015556661d183a999078a9e846200ef6765'/>
<id>urn:sha1:9e552015556661d183a999078a9e846200ef6765</id>
<content type='text'>
The previous logic was systematically attempting to retrieve last_insert_id
even for models without an AutoField primary key when they had a GeneratedField
on backends that can't return columns from INSERT.

The issue affected MySQL, SQLite &lt; 3.35, and Oracle when the use_returning_into
option was disabled and could result in either crashes when the non-auto
primary key wasn't an IntegerField subclass or silent misassignment of bogus
insert ids (0 or the previous auto primary key insert value) to the first
defined generated field value.
</content>
</entry>
<entry>
<title>Fixed #35695 -- Ensured FileFields use a storage pointing to a temp directory in model_fields tests.</title>
<updated>2024-08-21T11:51:25Z</updated>
<author>
<name>Hisham Mahmood</name>
<email>hishammahmood41@gmail.com</email>
</author>
<published>2024-08-21T11:51:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=519087819ed6e8bfbe6be208df71a7df19f23a58'/>
<id>urn:sha1:519087819ed6e8bfbe6be208df71a7df19f23a58</id>
<content type='text'>
</content>
</entry>
</feed>
