<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/tests/field_defaults, branch main</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=main</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2026-03-17T14:28:26Z</updated>
<entry>
<title>Refs #470 -- Fixed further field_defaults test failures due to year-end boundary conditions.</title>
<updated>2026-03-17T14:28:26Z</updated>
<author>
<name>Jacob Walls</name>
<email>jacobtylerwalls@gmail.com</email>
</author>
<published>2026-01-06T23:32:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=37284896f08e120505c8c01918b9d6bba03c2204'/>
<id>urn:sha1:37284896f08e120505c8c01918b9d6bba03c2204</id>
<content type='text'>
Follow-up to 352d860b9107adbcde0f1fe5d0fce8e9090a51e4.

Overriding USE_TZ=True during a test creates drift between the SQL compiled
for inserted values versus the deployed database default, as Extract() inquires
of the current timezone.

To resolve this, leave USE_TZ=False and make UTC explicit when asserting the result.
</content>
</entry>
<entry>
<title>Fixed #27222 -- Refreshed model field values assigned expressions on save().</title>
<updated>2025-09-13T22:27:50Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2025-03-19T05:39:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=94680437a45a71c70ca8bd2e68b72aa1e2eff337'/>
<id>urn:sha1:94680437a45a71c70ca8bd2e68b72aa1e2eff337</id>
<content type='text'>
Removed the can_return_columns_from_insert skip gates on existing
field_defaults tests to confirm the expected number of queries are
performed and that returning field overrides are respected.
</content>
</entry>
<entry>
<title>Added supports_expression_defaults check in DefaultTests.test_full_clean() test.</title>
<updated>2025-04-06T07:40:12Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2025-04-06T07:40:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=d4a2809c2b878317a4fa0e1cbaf07322ffd7f2fb'/>
<id>urn:sha1:d4a2809c2b878317a4fa0e1cbaf07322ffd7f2fb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #470 -- Fixed field_defaults test failures due to year-end boundary conditions.</title>
<updated>2025-01-23T15:43:04Z</updated>
<author>
<name>Jacob Walls</name>
<email>jacobtylerwalls@gmail.com</email>
</author>
<published>2025-01-23T15:43:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=352d860b9107adbcde0f1fe5d0fce8e9090a51e4'/>
<id>urn:sha1:352d860b9107adbcde0f1fe5d0fce8e9090a51e4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #35223 -- Made Model.full_clean() ignore fields with db_default when validating empty values.</title>
<updated>2024-03-08T04:55:25Z</updated>
<author>
<name>Ben Cail</name>
<email>bcail@crossway.org</email>
</author>
<published>2024-03-05T21:36:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=1570ef02f34037d32218d463342592debccf915c'/>
<id>urn:sha1:1570ef02f34037d32218d463342592debccf915c</id>
<content type='text'>
Thanks Brian Ibbotson for the report.

Regression in 7414704e88d73dafbcfbb85f9bc54cb6111439d3.
</content>
</entry>
<entry>
<title>Fixed #34936 -- Fixed migration crash for DecimalField with db_default on SQLite.</title>
<updated>2023-11-02T16:57:39Z</updated>
<author>
<name>David Sanders</name>
<email>shang.xiao.sanders@gmail.com</email>
</author>
<published>2023-10-30T09:44:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=797957fb48f63760442d3d4c8985fd94f8602d5e'/>
<id>urn:sha1:797957fb48f63760442d3d4c8985fd94f8602d5e</id>
<content type='text'>
CAST() must be wrapped in parentheses to be recognized as an expression on SQLite.

Regression in 7414704e88d73dafbcfbb85f9bc54cb6111439d3.
</content>
</entry>
<entry>
<title>Fixed #470 -- Added support for database defaults on fields.</title>
<updated>2023-05-12T17:11:40Z</updated>
<author>
<name>Ian Foote</name>
<email>python@ian.feete.org</email>
</author>
<published>2020-11-22T22:27:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=7414704e88d73dafbcfbb85f9bc54cb6111439d3'/>
<id>urn:sha1:7414704e88d73dafbcfbb85f9bc54cb6111439d3</id>
<content type='text'>
Special thanks to Hannes Ljungberg for finding multiple implementation
gaps.

Thanks also to Simon Charette, Adam Johnson, and Mariusz Felisiak for
reviews.
</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/django.git/commit/?id=9c19aff7c7561e3a82978a272ecdaad40dda5c00'/>
<id>urn:sha1:9c19aff7c7561e3a82978a272ecdaad40dda5c00</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #23919 -- Removed six.&lt;various&gt;_types usage</title>
<updated>2017-01-18T19:18:46Z</updated>
<author>
<name>Claude Paroz</name>
<email>claude@2xlibre.net</email>
</author>
<published>2016-12-29T15:27:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=7b2f2e74adb36a4334e83130f6abc2f79d395235'/>
<id>urn:sha1:7b2f2e74adb36a4334e83130f6abc2f79d395235</id>
<content type='text'>
Thanks Tim Graham and Simon Charette for the reviews.
</content>
</entry>
<entry>
<title>Refs #23919 -- Removed python_2_unicode_compatible decorator usage</title>
<updated>2017-01-18T12:44:34Z</updated>
<author>
<name>Claude Paroz</name>
<email>claude@2xlibre.net</email>
</author>
<published>2016-11-19T20:54:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=f3c43ad1fd9556f0fd026a5dfa93c67a5cf186ca'/>
<id>urn:sha1:f3c43ad1fd9556f0fd026a5dfa93c67a5cf186ca</id>
<content type='text'>
</content>
</entry>
</feed>
