Adam Johnson
f6bd90c840
Refs #28586 -- Edited related objects documentation.
...
This change aims to make this section clearer and ready to add a description of
fetch modes.
2025-10-16 14:52:22 -04:00
Jacob Walls
bee64561a6
Refs #36648 -- Removed hardcoded pk in CompositePKAggregateTests.
Linters / flake8 (push) Waiting to run
Linters / isort (push) Waiting to run
Linters / black (push) Waiting to run
Tests / Windows, SQLite, Python 3.13 (push) Waiting to run
Tests / JavaScript tests (push) Waiting to run
2025-10-15 23:44:14 -04:00
Mariusz Felisiak
37df013195
Fixed parameter names in in "New contributor" GitHub action.
...
Follow up to 407ab79357 .
2025-10-15 17:35:29 -04:00
Clifford Gama
6862d46dd9
Fixed 36622 -- Prevented LazyObject FileField storages from evaluating at boot time.
...
Co-authored-by: Fabien MICHEL <fmichel@adista.fr>
2025-10-15 18:25:08 -03:00
Baptiste Mispelon
2b62951fec
Fixed #36659 -- Fixed flatpage content selector in admin forms.css.
...
Linters / flake8 (push) Waiting to run
Linters / isort (push) Waiting to run
Linters / black (push) Waiting to run
Tests / Windows, SQLite, Python 3.13 (push) Waiting to run
Tests / JavaScript tests (push) Waiting to run
Regression in bb145e2c47 .
2025-10-15 11:12:41 -04:00
Mariusz Felisiak
5a2490a19d
Skipped GISFunctionsTests.test_geometry_type() test for MultiPoint on 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-15 15:03:07 +02:00
Mariusz Felisiak
118df57d8d
Moved object creation to subTest() in GISFunctionsTests.test_geometry_type() test.
2025-10-15 15:03:07 +02:00
Jacob Walls
02eed4f378
Fixed #36648 , Refs #33772 -- Accounted for composite pks in first()/last() when aggregating.
Linters / flake8 (push) Waiting to run
Linters / isort (push) Waiting to run
Linters / black (push) Waiting to run
Tests / JavaScript tests (push) Waiting to run
Tests / Windows, SQLite, Python 3.13 (push) Waiting to run
Docs / lint-docs (push) Has been cancelled
Docs / spelling (push) Has been cancelled
Docs / blacken-docs (push) Has been cancelled
2025-10-14 15:48:29 -04:00
Jacob Walls
cc9df52666
Removed pre-release wheel-only advice in docs/internals/howto-release-django.txt.
...
The practice since 2.2a1 (2019) has been to upload source distributions
as well.
2025-10-14 08:46:14 -04:00
Jacob Walls
42758f882d
Removed setuptools from GitHub actions.
...
Follow-up to 61c5c31732 .
2025-10-14 08:41:32 -04:00
Jacob Walls
1910115807
Removed mention of setuptools in docs/internals/contributing/writing-code/unit-tests.txt.
2025-10-14 08:41:32 -04:00
Augusto Pontes
5d6c36d834
Fixed #36654 -- Corrected Model._do_update()'s docstring.
2025-10-14 08:38:41 -04:00
Thibaut Decombe
d0c8f89c94
Refs #31223 -- Added __class_getitem__() to SetPasswordMixin.
Linters / flake8 (push) Waiting to run
Linters / isort (push) Waiting to run
Linters / black (push) Waiting to run
Tests / Windows, SQLite, Python 3.13 (push) Waiting to run
Tests / JavaScript tests (push) Waiting to run
2025-10-14 08:13:52 -04:00
antoliny0919
bc03f1064e
Fixed #34041 -- Added aria-current attribute to admin breadcrumbs.
...
Co-authored by: farita1699 <uwanjerry25@gmail.com>
2025-10-14 08:10:43 -04:00
Jacob Walls
407ab79357
Pinned "New contributor" GitHub action to v1.
...
Later versions misidentify all contributors as new ones if the project
does not enable issues.
Follow-up to b7507bad77 .
2025-10-14 07:50:16 -04:00
lyova24
a545eb0c1a
Cautioned against multi-level relative imports in coding style docs.
Docs / spelling (push) Waiting to run
Docs / blacken-docs (push) Waiting to run
Docs / lint-docs (push) Waiting to run
Linters / flake8 (push) Waiting to run
Linters / isort (push) Waiting to run
Linters / black (push) Waiting to run
Tests / Windows, SQLite, Python 3.13 (push) Waiting to run
Tests / JavaScript tests (push) Waiting to run
2025-10-13 17:27:07 -04:00
lyova24
54cfb5f328
Replaced multi-level relative imports with absolute imports in django/.
2025-10-13 17:27:07 -04:00
Natalia
d5543a23d3
Added notes about automatic roadmap generation for next version in docs/internals/howto-release-django.txt.
2025-10-13 17:41:30 -03:00
arsalan64
92d0c21e69
Fixed #36625 -- Mentioned exit() in tutorial's instruction to restart the shell.
2025-10-13 16:21:22 -04:00
Jacob Walls
1ae8a42af1
Removed reference to "manager" in ForeignKeyTests.
...
Follow-up to 0de89b6f8d .
2025-10-13 16:12:44 -04:00
Sarah Boyce
5b51e6f759
Fixed #36611 , Refs #36580 -- Added system check for multicolumn ForeignObject in Meta.indexes/constraints/unique_together.
...
Docs / spelling (push) Waiting to run
Docs / blacken-docs (push) Waiting to run
Docs / lint-docs (push) Waiting to run
Linters / flake8 (push) Waiting to run
Linters / isort (push) Waiting to run
Linters / black (push) Waiting to run
Tests / Windows, SQLite, Python 3.13 (push) Waiting to run
Tests / JavaScript tests (push) Waiting to run
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-13 14:53:39 -03:00
Simon Charette
edde2891c3
Fixed #36660 -- Fixed a regression in descending Index local field checks.
...
Regression in 8638d8bf74 .
Refs #36273 .
Thanks Federico Bond for the report.
2025-10-13 10:42:23 -03:00
sobolevn
0f75f8f1ff
Optimized View.dispatch() a bit.
Linters / flake8 (push) Waiting to run
Linters / isort (push) Waiting to run
Linters / black (push) Waiting to run
Tests / Windows, SQLite, Python 3.13 (push) Waiting to run
Tests / JavaScript tests (push) Waiting to run
2025-10-12 22:09:46 +02:00
Simon Charette
315dbe675d
Fixed #36646 -- Added compatibility for oracledb 3.4.0.
...
Linters / flake8 (push) Has been cancelled
Linters / isort (push) Has been cancelled
Linters / black (push) Has been cancelled
Docs / spelling (push) Has been cancelled
Docs / blacken-docs (push) Has been cancelled
Docs / lint-docs (push) Has been cancelled
Tests / Windows, SQLite, Python 3.13 (push) Has been cancelled
Tests / JavaScript tests (push) Has been cancelled
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@869a887819
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-11 17:15:28 +02:00
Mariusz Felisiak
1167cd1d63
Corrected admin check IDs in docs.
Docs / lint-docs (push) Has been cancelled
Docs / spelling (push) Has been cancelled
Docs / blacken-docs (push) Has been cancelled
2025-10-09 20:01:31 +02:00
Natalia
608d3ebc88
Fixed #36526 -- Doc'd QuerySet.bulk_update() memory usage when batching.
...
Docs / spelling (push) Waiting to run
Docs / blacken-docs (push) Waiting to run
Docs / lint-docs (push) Waiting to run
Linters / black (push) Has been cancelled
Linters / isort (push) Has been cancelled
Linters / flake8 (push) Has been cancelled
Tests / Windows, SQLite, Python 3.13 (push) Has been cancelled
Tests / JavaScript tests (push) Has been cancelled
Thanks Simon Charette for the review.
2025-10-08 18:27:16 -03:00
Michiel W. Beijen
96a7a65216
Fixed #35961 -- Migrated license metadata in pyproject.toml to conform PEP 639.
...
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-08 16:40:02 -03:00
Chris Muthig
d514ca6c4e
Refs #36595 -- Extended "postgis" GitHub Action to run against PostGIS 3.6.
...
Linters / isort (push) Waiting to run
Linters / black (push) Waiting to run
Linters / flake8 (push) Waiting to run
Tests / Windows, SQLite, Python 3.13 (push) Waiting to run
Tests / JavaScript tests (push) Waiting to run
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-08 11:52:32 -03:00
Mariusz Felisiak
4a8ca8bd69
Added missing backticks in docs/ref/models/fields.txt.
Docs / spelling (push) Waiting to run
Docs / blacken-docs (push) Waiting to run
Docs / lint-docs (push) Waiting to run
Linters / flake8 (push) Waiting to run
Linters / isort (push) Waiting to run
Linters / black (push) Waiting to run
Tests / Windows, SQLite, Python 3.13 (push) Waiting to run
Tests / JavaScript tests (push) Waiting to run
2025-10-08 10:58:59 +02:00
Tim Kamanin
dfb04d9472
Added required "issue_message" input to "New contributor" GitHub action.
2025-10-07 22:41:06 -03:00
Mariusz Felisiak
6e3287408e
Refs #36623 -- Confirmed support for PostGIS 3.6.
Linters / flake8 (push) Has been cancelled
Linters / isort (push) Has been cancelled
Linters / black (push) Has been cancelled
Tests / Windows, SQLite, Python 3.13 (push) Has been cancelled
Tests / JavaScript tests (push) Has been cancelled
Docs / spelling (push) Has been cancelled
Docs / blacken-docs (push) Has been cancelled
Docs / lint-docs (push) Has been cancelled
2025-10-03 17:12:57 -04:00
Mariusz Felisiak
5bd775703c
Fixed #36623 -- Dropped support for PostgreSQL 14 and PostGIS 3.1.
2025-10-03 17:12:57 -04:00
Dani Fornons
2514857e3f
Fixed #36636 , Refs #15902 -- Removed session-based storage reference from set_language() docs.
2025-10-03 15:16:37 -04:00
Jacob Walls
0a09c60e97
Refs #36143 , #28596 -- Avoided mentioning exact query parameter limit in bulk_create() docs.
2025-10-03 11:25:17 -04:00
Mariusz Felisiak
6cb641ba75
Refs #36491 -- Skipped ParallelTestSuiteTest.test_buffer_mode_reports_setupclass_failure() without tblib.
Linters / flake8 (push) Has been cancelled
Linters / isort (push) Has been cancelled
Linters / black (push) Has been cancelled
Tests / Windows, SQLite, Python 3.13 (push) Has been cancelled
Tests / JavaScript tests (push) Has been cancelled
2025-10-02 13:20:01 +02:00
Mariusz Felisiak
1499c95d99
Rewrapped security archive at 79 chars.
Linters / flake8 (push) Waiting to run
Linters / isort (push) Waiting to run
Linters / black (push) Waiting to run
Tests / Windows, SQLite, Python 3.13 (push) Waiting to run
Tests / JavaScript tests (push) Waiting to run
Docs / lint-docs (push) Has been cancelled
Docs / spelling (push) Has been cancelled
Docs / blacken-docs (push) Has been cancelled
2025-10-01 16:24:00 -04:00
Jacob Walls
43d84aef04
Added CVE-2025-59681 and CVE-2025-59682 to security archive.
2025-10-01 10:39:02 -04:00
Jacob Walls
1324d9037e
Added stub release notes for 5.2.8.
2025-10-01 10:30:45 -04:00
Sarah Boyce
924a0c092e
Fixed CVE-2025-59682 -- Fixed potential partial directory-traversal via archive.extract().
...
Thanks stackered for the report.
Follow up to 05413afa8c .
2025-10-01 08:12:07 -04:00
Mariusz Felisiak
41b43c74bd
Fixed CVE-2025-59681 -- Protected QuerySet.annotate(), alias(), aggregate(), and extra() against SQL injection in column aliases on MySQL/MariaDB.
...
Thanks sw0rd1ight for the report.
Follow up to 93cae5cb2f .
2025-10-01 08:11:45 -04:00
Jacob Walls
6c82b0bc91
Made cosmetic edits to 5.2.7 release notes.
Docs / spelling (push) Waiting to run
Docs / blacken-docs (push) Waiting to run
Docs / lint-docs (push) Waiting to run
2025-09-30 16:31:01 -04:00
Adam Johnson
8b241f84e2
Fixed #36614 -- Deprecated QuerySet.values_list(flat=True) without a field.
...
Docs / spelling (push) Waiting to run
Docs / blacken-docs (push) Waiting to run
Docs / lint-docs (push) Waiting to run
Linters / flake8 (push) Has been cancelled
Linters / isort (push) Has been cancelled
Linters / black (push) Has been cancelled
Tests / Windows, SQLite, Python 3.13 (push) Has been cancelled
Tests / JavaScript tests (push) Has been cancelled
Thanks to Jacob Walls and Simon Charette for their input.
co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
2025-09-30 08:46:28 +02:00
Jacob Walls
d29852ae72
Fixed #36619 -- Vendored eslint configuration dependencies.
...
This allows the eslint pre-commit hook to run without depending
on a prior installation of node modules.
Follow-up to 6345a6ff63 .
2025-09-30 08:45:39 +02:00
Mariusz Felisiak
906a51e125
Skipped NOT NULL constraints on PostgreSQL 18+.
...
Linters / flake8 (push) Waiting to run
Linters / isort (push) Waiting to run
Linters / black (push) Waiting to run
Tests / Windows, SQLite, Python 3.13 (push) Waiting to run
Tests / JavaScript tests (push) Waiting to run
Thanks Simon Charette for the implementation idea.
2025-09-29 23:09:53 +02:00
Mariusz Felisiak
8b84364d46
Fixed assertIndexExists() crash when non-index constraint exists on the same columns.
2025-09-29 23:01:12 +02:00
Mariusz Felisiak
22448a4b65
Added PostgreSQL 18 to scheduled tests workflow.
2025-09-29 12:37:03 -03:00
okaybro
afe6634146
Fixed #36587 -- Clarified usage of list.insert() for upload handlers.
...
Docs / spelling (push) Waiting to run
Docs / blacken-docs (push) Waiting to run
Docs / lint-docs (push) Waiting to run
Linters / flake8 (push) Waiting to run
Linters / isort (push) Waiting to run
Linters / black (push) Waiting to run
Tests / Windows, SQLite, Python 3.13 (push) Waiting to run
Tests / JavaScript tests (push) Waiting to run
Thanks Baptiste Mispelon for the report
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2025-09-29 14:48:06 +02:00
arsalan64
e8190b370e
Fixed #36277 -- Fixed DatabaseFeatures.supports_virtual_generated_columns on PostgreSQL 18+.
2025-09-29 10:54:27 +02:00
Samriddha9619
daba609a9b
Fixed #35877 , Refs #36128 -- Documented unique constraint when migrating a m2m field to use a through model.
2025-09-29 08:57:11 +02:00
Shubham Singh
be581ff473
Fixed #36491 -- Fixed crash in ParallelTestRunner with --buffer.
...
Linters / flake8 (push) Has been cancelled
Linters / isort (push) Has been cancelled
Linters / black (push) Has been cancelled
Tests / Windows, SQLite, Python 3.13 (push) Has been cancelled
Tests / JavaScript tests (push) Has been cancelled
Thanks Javier Buzzi and Adam Johnson for reviews.
Co-authored-by: Simon Charette <charette.s@gmail.com>
2025-09-26 10:55:30 -04:00