<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/tests/forms_tests, 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-04-29T18:52:25Z</updated>
<entry>
<title>Fixed #16429 -- Extracted set_choices() method from FilePathField.__init__().</title>
<updated>2026-04-29T18:52:25Z</updated>
<author>
<name>TildaDares</name>
<email>mathildaudufo@gmail.com</email>
</author>
<published>2026-03-29T21:02:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=3f912ee4189602b4df121c0dc0428673fda5c253'/>
<id>urn:sha1:3f912ee4189602b4df121c0dc0428673fda5c253</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #35870 -- Made blank choice label in forms more accessible.</title>
<updated>2026-04-22T21:06:29Z</updated>
<author>
<name>Annabelle Wiegart</name>
<email>annabelle.wiegart@proton.me</email>
</author>
<published>2026-01-18T19:03:28Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=63c56cda133a85a158502891c40465bc0331d3d9'/>
<id>urn:sha1:63c56cda133a85a158502891c40465bc0331d3d9</id>
<content type='text'>
Added new constant django.db.models.fields.BLANK_CHOICE_LABEL for
an accessible and translatable blank choice label in forms.
Deprecated django.db.models.fields.BLANK_CHOICE_DASH constant.
Added the immediately deprecated transitional setting
USE_BLANK_CHOICE_DASH.

Co-Authored-By: Marijke Luttekes &lt;mail@marijkeluttekes.dev&gt;
</content>
</entry>
<entry>
<title>Refs #36913 -- Maintained error message determinism in MultipleChoiceField.validate().</title>
<updated>2026-03-26T19:21:00Z</updated>
<author>
<name>afenoum</name>
<email>anja1catus@gmail.com</email>
</author>
<published>2026-03-26T08:30:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=8b7ea2bcdd7297941ca6beb72d93b9568e187349'/>
<id>urn:sha1:8b7ea2bcdd7297941ca6beb72d93b9568e187349</id>
<content type='text'>
Used Django's OrderedSet datastructure instead of set() in MultipleChoiceField.validate()
to prevent submission ordering from being discarded during validation.

Thanks to Jacob Walls, JaeHyuck Sa, Jake Howard and Simon Charette for
the reviews.
</content>
</entry>
<entry>
<title>Fixed #36913 -- Optimized MultipleChoiceField.validate().</title>
<updated>2026-03-25T13:23:10Z</updated>
<author>
<name>afenoum</name>
<email>anja1catus@gmail.com</email>
</author>
<published>2026-03-15T11:18:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=26f8929f16c514bd9967cd78d8dcd7760b82cc92'/>
<id>urn:sha1:26f8929f16c514bd9967cd78d8dcd7760b82cc92</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #36923 -- Added tests for non-hierarchical URI schemes in URLField.to_python().</title>
<updated>2026-03-03T20:40:38Z</updated>
<author>
<name>Natalia</name>
<email>124304+nessita@users.noreply.github.com</email>
</author>
<published>2026-03-03T15:31:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=4b6c998301fedec279ec97b6547e67c3e88b7ff0'/>
<id>urn:sha1:4b6c998301fedec279ec97b6547e67c3e88b7ff0</id>
<content type='text'>
Follow up to 951ffb3832cd83ba672c1e3deae2bda128eb9cca.
</content>
</entry>
<entry>
<title>Fixed CVE-2026-25673 -- Simplified URLField scheme detection.</title>
<updated>2026-03-03T12:08:46Z</updated>
<author>
<name>Natalia</name>
<email>124304+nessita@users.noreply.github.com</email>
</author>
<published>2026-01-30T01:52:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=951ffb3832cd83ba672c1e3deae2bda128eb9cca'/>
<id>urn:sha1:951ffb3832cd83ba672c1e3deae2bda128eb9cca</id>
<content type='text'>
This simplicaftion mitigates a potential DoS in URLField on Windows. The
usage of `urlsplit()` in `URLField.to_python()` was replaced with
`str.partition(":")` for URL scheme detection. On Windows, `urlsplit()`
performs Unicode normalization which is slow for certain characters,
making `URLField` vulnerable to DoS via specially crafted POST payloads.

Thanks Seokchan Yoon for the report, and Jake Howard and Shai Berger
for the review.

Refs #36923.

Co-authored-by: Jacob Walls &lt;jacobtylerwalls@gmail.com&gt;
</content>
</entry>
<entry>
<title>Modified tests to format PKs with %s rather than %d.</title>
<updated>2026-02-10T21:04:24Z</updated>
<author>
<name>Tim Graham</name>
<email>timograham@gmail.com</email>
</author>
<published>2026-02-06T16:06:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=d007fcf7291cc3c24d4545e23c759bde22b6a8a6'/>
<id>urn:sha1:d007fcf7291cc3c24d4545e23c759bde22b6a8a6</id>
<content type='text'>
It's how Django formats values internally and makes tests compatible
with databases that use non-integer primary keys.
</content>
</entry>
<entry>
<title>Applied Black's 2026 stable style.</title>
<updated>2026-01-18T20:26:56Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2026-01-18T20:26:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=6cff02078799b7c683a0d39630d49ab4fe532e7c'/>
<id>urn:sha1:6cff02078799b7c683a0d39630d49ab4fe532e7c</id>
<content type='text'>
https://github.com/psf/black/releases/tag/26.1.0</content>
</entry>
<entry>
<title>Fixed #36829 -- Reverted value of ClearableFileInput.use_fieldset to True.</title>
<updated>2025-12-31T15:14:00Z</updated>
<author>
<name>Johannes Maron</name>
<email>johannes@maron.family</email>
</author>
<published>2025-12-27T11:28:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=79ab0993d0f2253e10ea638bcefc98ec2d890a47'/>
<id>urn:sha1:79ab0993d0f2253e10ea638bcefc98ec2d890a47</id>
<content type='text'>
There was unresolved discussion regarding whether to set
ClearableFileInput.use_fieldset to True or False when use_fieldset was
introduced in Django 4.1, since the clear checkbox appears only
sometimes. Although using &lt;fieldset&gt; is likely desirable, since the
primary motivation in #35892 was just to improve markup in the admin,
and a deprecation path was not provided for general form usage, future
work is deferred to #36828.

Regression in 4187da258fe212d494cb578a0bc2b52c4979ab95.

Thanks Tim Graham, Antoliny, and David Smith for triage.
</content>
</entry>
<entry>
<title>Fixed #36618 -- Corrected error message in BaseForm.add_error().</title>
<updated>2025-12-19T20:10:12Z</updated>
<author>
<name>Nilesh Kumar Pahari</name>
<email>nileshpahari@protonmail.com</email>
</author>
<published>2025-12-18T20:45:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=e49e14fd9032feb7a8cf254658ac4e74a4ffb712'/>
<id>urn:sha1:e49e14fd9032feb7a8cf254658ac4e74a4ffb712</id>
<content type='text'>
The error message now correctly states that the error argument
is a dictionary.
</content>
</entry>
</feed>
