summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2026-01-20Refs #36382 -- Fixed GDAL_VERSION comparison in gdal_tests.Jacob Walls
Tests regression in 0d31ca98830542088299d2078402891d08cc3a65.
2026-01-20Fixed #36030 -- Fixed precision loss in division of Decimal literals on SQLite.VIZZARD-X
Thanks Bob Kline for the review.
2026-01-20Fixed #36639 -- Added CI step to run makemigrations --check against test models.Skyiesac
2026-01-20Refs #36639 -- Updated test migrations to match models.Skyiesac
2026-01-19Fixed #36869 -- Optimized MigrationGraph._generate_plan membership checks.James Fysh
Previously, `_generate_plan()` relied on list membership checks, resulting in quadratic behavior as the plan grew. On large migration graphs this became a significant performance bottleneck. This change uses `OrderedSet` for the plan, reducing the complexity to linear while preserving insertion order and behavior. Co-authored-by: Nick Pope <nick@nickpope.me.uk>
2026-01-19Refs #25508 -- Updated outdated QuerySet.__repr__() results.Clifford Gama
2026-01-19Fixed unbalanced parentheses in docs.Clifford Gama
2026-01-19Ignored 6cff02078799b7c683a0d39630d49ab4fe532e7c formatting changes in git ↵Mariusz Felisiak
blame.
2026-01-18Applied Black's 2026 stable style.Mariusz Felisiak
https://github.com/psf/black/releases/tag/26.1.0
2026-01-16Refs #36382 -- Updated GDAL tests for Memory driver deprecation in GDAL 3.11.David Smith
Follow up to fb0d463b1f88a38f3e7cd8d66ed6c69309f97901 Since GDAL 3.11 the Memory driver is deprecated with its functionality merged into the MEM dataset driver. https://gdal.org/en/stable/drivers/vector/memory.html
2026-01-16Fixed #36352 -- Improved error message for fields excluded by prior ↵JaeHyuck Sa
values()/values_list() calls. Signed-off-by: JaeHyuck Sa <wogur981208@gmail.com>
2026-01-16Fixed #36801 -- Avoided unnecessary calculation in construct_change_message().Adam Johnson
`changed_field_labels` is only needed if there are changes to log, so move its calculation, including the somewhat costly `translation_override()`, inside the conditional that checks for changes. Also avoid reading `form.changed_data` when it’s already bound to `changed_data`. co-authored-by: Rodolfo Becerra <44782644+rodolvbg@users.noreply.github.com>
2026-01-16Fixed #36822 -- Added parameter limit for PostgreSQL with server-side binding.JaeHyuck Sa
2026-01-16Refs #36822 -- Hoisted bulk_batch_size() implementations to base backend.JaeHyuck Sa
2026-01-15Fixed #36856 -- Mentioned needsnewfeatureprocess resolution in contributor docs.Amar Ahmed Deina
Co-authored-by: James Bligh <blighj@users.noreply.github.com>
2026-01-14Bumped linter versions in requirements files and tox.ini.Jacob Walls
Follow-up to 64ac4385c75b12a4065055b3d8d60bd5e0e61f04.
2026-01-14Fixed #36855, Refs #27222 -- Mentioned multiple invocations of ↵kundan223
Field.pre_save() in 6.0 release notes. Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
2026-01-14Fixed #36821 -- Treated empty strings as NULL for iexact lookups on Oracle.JaeHyuck Sa
Signed-off-by: JaeHyuck Sa <wogur981208@gmail.com>
2026-01-14Fixed #35402 -- Fixed crash in DatabaseFeatures.django_test_skips when ↵Jacob Walls
running a subset of tests. Thanks Tim Graham for the report and the review.
2026-01-13Fixed #35442 -- Prevented N+1 queries in RelatedManager with only().Samriddha9619
Co-authored-by: Simon Charette <charette.s@gmail.com>
2026-01-12Refs #36769 -- Raised SuspiciousOperation for unexpected nested tags in XML ↵Jacob Walls
Deserializer. Thanks Shai Berger and Natalia Bidart for reviews.
2026-01-12Refs #36769 -- Avoided visiting grandchild nodes in XML Deserializer.Jacob Walls
The only use case for visiting grandchild nodes turned out to be to support an unintentionally invalid fixture in the test suite. The invalid fixture added in #36969 was modeled on fixture9.xml in dae08cf55b83caef5e8ee39b16417692e8565278, so that is corrected as well in this commit, where the test will still pass.
2026-01-12Refs #36769 -- Corrected invalid XML fixtures.Jacob Walls
fixture9.xml was likely wrong since its introduction in 35cc439228cd32dfa7a3ec919db01a8a5cd17d33. The relevant part of the Visa model is: class Visa(models.Model): person = models.ForeignKey(Person, models.CASCADE) The Visa.person <field>s needed to be declared as relations, and the Person <field>s didn't need their values wrapped in `<natural>`, since they weren't relations.
2026-01-12Fixed #36858 -- Optimized `Field._get_default()` for `db_default` case.Adam Johnson
Create and share a single instance of `DatabaseDefault` instead of making a new one each time the lambda is called. The quick benchmark on the ticket shows a ~12% speedup for a large `bulk_create()` operation.
2026-01-12Fixed #36708 -- Initialized formset to None in ChangeList.__init__().Rudraksha Dwivedi
Thanks Antoliny for the review.
2026-01-12Bumped linter dependencies.Ülgen Sarıkavak
* psf/black-pre-commit-mirror: 25.9.0 -> 25.12.0 * pre-commit/mirrors-eslint: v9.36.0 -> v9.39.1 * zizmorcore/zizmor-pre-commit: v1.16.3 -> v1.19.0 * zizmorcore/zizmor-action: 0.2.0 -> 0.3.0
2026-01-12Fixed #36804 -- Fixed admin system check crash for missing models.Parth Paradkar
2026-01-10Fixed #36827 -- Added support for exclusion constraints using Hash indexes ↵Haki Benita
on PostgreSQL.
2026-01-09Refs #35875 -- Added dark mode support in additional views.mbcodes
Thanks Thibaud Colas for the review.
2026-01-09Refs #35381 -- Added missing deprecation note for using None as RHS of ↵Clifford Gama
JSONExact.
2026-01-09Fixed #36853 -- Fixed technical 500 and 404 email CSS support.Andrea Zanotto
2026-01-09Fixed #36815 -- Optimized insertion of db_default fields in bulk_create().YashRaj1506
Thanks Adam Sołtysik for the implementation idea.
2026-01-08Fixed a typo in docs/ref/forms/models.txt.Jacob Walls
2026-01-08Fixed #36852 -- Ignored index_type case in ExclusionConstraint equality check.Haki Benita
2026-01-08Fixed #36844 -- Clarified need for reusable apps to set default_auto_field ↵Amar Ahmed Deina
in packaging tutorial and AppConfig docs.
2026-01-08Clarified regression nature of data loss bug in docs/releases/6.0.1.txt and ↵Tim Graham
5.2.10.txt.
2026-01-08Added guidance on AI-assisted code submission to contributing docs.Natalia
2026-01-08Extended GitHub pull request template to require AI assistance disclosure.Natalia
2026-01-08Relocated content from docs/topics/external-packages.txt where appropriate.Natalia
Following up a forum post and a conversation with the Steering Council, it was decided to remove the docs/topics/external-packages.txt to avoid confusion with the Ecosystem page. Relevant content was moved to their related sections, except for `django-contrib-comments` which is not actively maintained. Thank you Tim Schilling for the review.
2026-01-08Dropped unnecessary usage of "seealso" in BoundField docs.Natalia
2026-01-07Refs #23395 -- Ignored line-length formatting changes in git blame.Jacob Walls
2026-01-07Improved types in django.tasks.base dataclasses.sobolevn
2026-01-07Made release test script use a random available port.Jacob Walls
Co-authored-by: Jake Howard <git@theorangeone.net>
2026-01-06Fixed #29257 -- Caught DatabaseError when attempting to close a possibly ↵VIZZARD-X
already-closed cursor.
2026-01-06Added stub release notes for 6.0.2.Jacob Walls
2026-01-06Added stub release notes for 5.2.11.Jacob Walls
2026-01-06Added release date for 6.0.1.Jacob Walls
2026-01-06Added release date for 5.2.10.Jacob Walls
2026-01-05Fixed #36843, #36793 -- Reverted "Fixed #27489 -- Renamed permissions upon ↵Jacob Walls
model renaming in migrations." This reverts commits f02b49d2f3bf84f5225de920ca510149f1f9f1da and 6e89271a8507fe272d11814975500a1b40303a04.
2026-01-03Added DatabaseCreation.destroy_test_db_connection_close_method hook.Tim Graham