summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-10-16Refs #28586 -- Simplified related descriptor get_queryset() methods.Adam Johnson
Modify these methods to accept an instance parameter which is clearer and allows us to set the instance hint earlier.
2025-10-16Refs #28586 -- Made fetch modes pickle as singletons.Adam Johnson
This change ensures that we don’t create new instances of fetch modes when pickling and unpickling, saving memory and preserving their singleton nature.
2025-10-16Fixed #28586 -- Added model field fetch modes.Adam Johnson
May your database queries be much reduced with minimal effort. co-authored-by: Andreas Pelme <andreas@pelme.se> co-authored-by: Simon Charette <charette.s@gmail.com> co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
2025-10-16Refs #28586 -- Edited related objects documentation.Adam Johnson
This change aims to make this section clearer and ready to add a description of fetch modes.
2025-10-15Refs #36648 -- Removed hardcoded pk in CompositePKAggregateTests.Jacob Walls
2025-10-15Fixed parameter names in in "New contributor" GitHub action.Mariusz Felisiak
Follow up to 407ab793573ce82c93cfdc86e5a0a7fa804f60f5.
2025-10-15Fixed 36622 -- Prevented LazyObject FileField storages from evaluating at ↵Clifford Gama
boot time. Co-authored-by: Fabien MICHEL <fmichel@adista.fr>
2025-10-15Fixed #36659 -- Fixed flatpage content selector in admin forms.css.Baptiste Mispelon
Regression in bb145e2c47d71b7f68280c00ced727442d2effa2.
2025-10-15Skipped GISFunctionsTests.test_geometry_type() test for MultiPoint on ↵Mariusz Felisiak
MariaDB and GEOS 3.12+. GEOSWKTWriter_write() behavior was changed in GEOS 3.12+ to include parentheses for sub-members (https://github.com/libgeos/geos/pull/903). MariaDB doesn't accept WKT representations with additional parentheses for MultiPoint. This is an accepted bug (MDEV-36166) in MariaDB that should be fixed in the future: - https://jira.mariadb.org/browse/MDEV-36166
2025-10-15Moved object creation to subTest() in GISFunctionsTests.test_geometry_type() ↵Mariusz Felisiak
test.
2025-10-14Fixed #36648, Refs #33772 -- Accounted for composite pks in first()/last() ↵Jacob Walls
when aggregating.
2025-10-14Removed pre-release wheel-only advice in ↵Jacob Walls
docs/internals/howto-release-django.txt. The practice since 2.2a1 (2019) has been to upload source distributions as well.
2025-10-14Removed setuptools from GitHub actions.Jacob Walls
Follow-up to 61c5c3173281b1e906a891aa6a6c6f9cdc9f2b8a.
2025-10-14Removed mention of setuptools in ↵Jacob Walls
docs/internals/contributing/writing-code/unit-tests.txt.
2025-10-14Fixed #36654 -- Corrected Model._do_update()'s docstring.Augusto Pontes
2025-10-14Refs #31223 -- Added __class_getitem__() to SetPasswordMixin.Thibaut Decombe
2025-10-14Fixed #34041 -- Added aria-current attribute to admin breadcrumbs.antoliny0919
Co-authored by: farita1699 <uwanjerry25@gmail.com>
2025-10-14Pinned "New contributor" GitHub action to v1.Jacob Walls
Later versions misidentify all contributors as new ones if the project does not enable issues. Follow-up to b7507bad7730e5f6558cfcce29976f65890083ca.
2025-10-13Cautioned against multi-level relative imports in coding style docs.lyova24
2025-10-13Replaced multi-level relative imports with absolute imports in django/.lyova24
2025-10-13Added notes about automatic roadmap generation for next version in ↵Natalia
docs/internals/howto-release-django.txt.
2025-10-13Fixed #36625 -- Mentioned exit() in tutorial's instruction to restart the shell.arsalan64
2025-10-13Removed reference to "manager" in ForeignKeyTests.Jacob Walls
Follow-up to 0de89b6f8d4d8f5fd232d6c5412260b0d79a760a.
2025-10-13Fixed #36611, Refs #36580 -- Added system check for multicolumn ↵Sarah Boyce
ForeignObject in Meta.indexes/constraints/unique_together. ForeignObjects with multiple `from_fields` are not supported in these options. Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2025-10-13Fixed #36660 -- Fixed a regression in descending Index local field checks.Simon Charette
Regression in 8638d8bf74c1a58302c97d4436ad2eb08438145b. Refs #36273. Thanks Federico Bond for the report.
2025-10-12Optimized View.dispatch() a bit.sobolevn
2025-10-11Fixed #36646 -- Added compatibility for oracledb 3.4.0.Simon Charette
The Database.Binary, Date, and Timestamp attributes were changed from aliases to bytes, datetime.date, and datetime.datetime to factory functions in oracle/python-oracledb@869a887819cdac7fcd610f9d9d463ade49ea7 which made their usage inadequate for isinstance checks. Thanks John Wagenleitner for the report and Natalia for the triage. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2025-10-09Corrected admin check IDs in docs.Mariusz Felisiak
2025-10-08Fixed #36526 -- Doc'd QuerySet.bulk_update() memory usage when batching.Natalia
Thanks Simon Charette for the review.
2025-10-08Fixed #35961 -- Migrated license metadata in pyproject.toml to conform PEP 639.Michiel W. Beijen
See https://peps.python.org/pep-0639/ and https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license-and-license-files. Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
2025-10-08Refs #36595 -- Extended "postgis" GitHub Action to run against PostGIS 3.6.Chris Muthig
Changed image exercise these versions: * latest: POSTGIS="3.5.2 dea6d0a" PGSQL="170" GEOS="3.9.0-CAPI-1.16.2" PROJ="7.2.1" * 17-master: POSTGIS="3.7.0dev 3.6.0rc2-55-gfda22140e" PGSQL="170" GEOS="3.15.0dev-CAPI-1.21.0" PROJ="9.8.0" * 18-3.6-alpine: POSTGIS="3.6.0 0" PGSQL="180" GEOS="3.13.1-CAPI-1.19.2" PROJ="9.6.0"
2025-10-08Added missing backticks in docs/ref/models/fields.txt.Mariusz Felisiak
2025-10-07Added required "issue_message" input to "New contributor" GitHub action.Tim Kamanin
2025-10-03Refs #36623 -- Confirmed support for PostGIS 3.6.Mariusz Felisiak
2025-10-03Fixed #36623 -- Dropped support for PostgreSQL 14 and PostGIS 3.1.Mariusz Felisiak
2025-10-03Fixed #36636, Refs #15902 -- Removed session-based storage reference from ↵Dani Fornons
set_language() docs.
2025-10-03Refs #36143, #28596 -- Avoided mentioning exact query parameter limit in ↵Jacob Walls
bulk_create() docs.
2025-10-02Refs #36491 -- Skipped ↵Mariusz Felisiak
ParallelTestSuiteTest.test_buffer_mode_reports_setupclass_failure() without tblib.
2025-10-01Rewrapped security archive at 79 chars.Mariusz Felisiak
2025-10-01Added CVE-2025-59681 and CVE-2025-59682 to security archive.Jacob Walls
2025-10-01Added stub release notes for 5.2.8.Jacob Walls
2025-10-01Fixed CVE-2025-59682 -- Fixed potential partial directory-traversal via ↵Sarah Boyce
archive.extract(). Thanks stackered for the report. Follow up to 05413afa8c18cdb978fcdf470e09f7a12b234a23.
2025-10-01Fixed CVE-2025-59681 -- Protected QuerySet.annotate(), alias(), aggregate(), ↵Mariusz Felisiak
and extra() against SQL injection in column aliases on MySQL/MariaDB. Thanks sw0rd1ight for the report. Follow up to 93cae5cb2f9a4ef1514cf1a41f714fef08005200.
2025-09-30Made cosmetic edits to 5.2.7 release notes.Jacob Walls
2025-09-30Fixed #36614 -- Deprecated QuerySet.values_list(flat=True) without a field.Adam Johnson
Thanks to Jacob Walls and Simon Charette for their input. co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
2025-09-30Fixed #36619 -- Vendored eslint configuration dependencies.Jacob Walls
This allows the eslint pre-commit hook to run without depending on a prior installation of node modules. Follow-up to 6345a6ff63a8b8af86ee9a025e29984a410c9764.
2025-09-29Skipped NOT NULL constraints on PostgreSQL 18+.Mariusz Felisiak
Thanks Simon Charette for the implementation idea.
2025-09-29Fixed assertIndexExists() crash when non-index constraint exists on the same ↵Mariusz Felisiak
columns.
2025-09-29Added PostgreSQL 18 to scheduled tests workflow.Mariusz Felisiak
2025-09-29Fixed #36587 -- Clarified usage of `list.insert()` for upload handlers.okaybro
Thanks Baptiste Mispelon for the report Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>