summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-08-29Refs #36485 -- Corrected docs linter to detect too-long lines at file end.Jacob Walls
2025-08-29Fixed #36431 -- Returned tuples for multi-column ForeignObject in ↵SaJH
values()/values_list(). Thanks Jacob Walls and Simon Charette for tests. Signed-off-by: SaJH <wogur981208@gmail.com>
2025-08-29Refs #36152 -- Suppressed duplicate warning when using "%" in alias via ↵Jacob Walls
values().
2025-08-29Fixed #35831 -- Documented the model form meta API in model form reference docs.Mustafa Pirbhai
Co-authored-by: Jonathan <3218047+jernwerber@users.noreply.github.com> Co-authored-by: Mustafa <117516335+mspirbhai@users.noreply.github.com>
2025-08-29Refs #34624 -- Changed RedirectAdmin to use a Select widget for the site field.SaJH
Signed-off-by: SaJH <wogur981208@gmail.com>
2025-08-29Fixed #34624 -- Removed change, delete, and view buttons for non-Select ↵SaJH
widgets in RelatedFieldWidgetWrapper. Signed-off-by: SaJH <wogur981208@gmail.com>
2025-08-28Fixed #36532 -- Added Content Security Policy view decorators to override or ↵Rob Hudson
disable policies. Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2025-08-28Refs #27222 -- Adapted RETURNING handling to be usable for UPDATE queries.Simon Charette
Renamed existing methods and abstractions used for INSERT … RETURNING to be generic enough to be used in the context of UPDATEs as well. This also consolidates SQL compliant implementations on BaseDatabaseOperations.
2025-08-28Refs #27222 -- Implemented ↵Simon Charette
BaseDatabaseOperations.return_insert_columns()/fetch_returned_insert_rows().
2025-08-28Refs #36520 -- Ensured only the header value is passed to ↵Jake Howard
parse_header_parameters for multipart requests. Header parsing should apply only to the header value. The previous implementation happened to work but relied on unintended behavior.
2025-08-28Added sphinxlint checker to flag relative targets in :doc: roles.David Smith
Co-authored-by: Adam Johnson <me@adamj.eu>
2025-08-28Ensured :doc: role uses absolute targets in docs.Adam Johnson
2025-08-28Replaced :doc: role usage with :ref: when appropriate in docs.Natalia
2025-08-28Fixed #35533 -- Prevented urlize creating broken links given a markdown link ↵SaJH
input. Signed-off-by: SaJH <wogur981208@gmail.com>
2025-08-28Refs #36570 -- Added sphinxlint checker to flag unnecessary :py domain in ↵David Smith
documentation roles.
2025-08-28Fixed #36570 -- Removed unnecessary :py domain from documentation roles.SaJH
Signed-off-by: SaJH <wogur981208@gmail.com>
2025-08-27Fixed incorrect IDs in test_in_bulk_preserve_ordering.Tim Graham
2025-08-27Fixed #36577 -- Removed obsolete try-except for GIS layermapping imports.Adam Johnson
2025-08-27Added matrix with newer image versions to the "postgis" GitHub Action.Natalia
This work allows to test three types of postgis Docker images to cover a wider spectrum of geo libraries versions: * `latest` (recommended upstream): uses latest stable Debian packages. These versions are generally conservative, so they may lag behind. * `alpine`: build PostGIS from source on Alpine, and ship newer geospatial libs. * `master`: provides development versions, therefore coverage for what's coming. Future compatibility issues can be caught in advance. This split is important because each image differs significantly in GEOS/PROJ/GDAL versions, so testing all increases confidence in compatibility. More info at https://hub.docker.com/r/postgis/postgis/. For example, at the time of this branch: * latest stable in debian: * POSTGIS="3.5.2 dea6d0a" * GEOS="3.9.0-CAPI-1.16.2" * PROJ="7.2.1" * latest stable in alpine: * POSTGIS="3.5.3 0" * GEOS="3.13.1-CAPI-1.19.2" * PROJ="9.6.0 * latest development branch: * POSTGIS="3.6.0dev 3.6.0beta1-29-g7c8cfe07d" * GEOS="3.14.0beta2-CAPI-1.20.1" * PROJ="9.7.0"
2025-08-27Ensured apt repo is updated before installing deps in "postgis" GitHub Action.Natalia
2025-08-27Added stub release notes and release date for 5.2.6, 5.1.12, and 4.2.24.Sarah Boyce
2025-08-27Fixed #36572 -- Revert "Fixed #36546 -- Deprecated ↵Sarah Boyce
django.utils.crypto.constant_time_compare() in favor of hmac.compare_digest()." This reverts commit 0246f478882c26bc1fe293224653074cd46a90d0.
2025-08-26Clarified Trac "version" attribute in contributing guide.Jacob Walls
2025-08-26Refs #15727 -- Captured failed request log in CSPMiddlewareTest.Jacob Walls
2025-08-26Corrected definition of "needsinfo" triage stage in contributing guide.Jacob Walls
2025-08-26Fixed #36568 -- Confirmed support for GEOS 3.14.David Smith
2025-08-26Fixed #36556 -- Fixed TabularInline width overflowing the page.antoliny0919
2025-08-26Refs #36485 -- Ignored line-length formatting changes in git blame.Natalia
2025-08-25Fixed #36485 -- Added lint-docs check in Tox and GitHub Actions.David Smith
The `check` docs target now runs spelling, black, and lint, so all current documentation quality checks can be run with a single command. Also documented the lint-docs check's availability and usage.
2025-08-25Refs #36485 -- Rewrapped docs to 79 columns line length.David Smith
Lines in the docs files were manually adjusted to conform to the 79 columns limit per line (plus newline), improving readability and consistency across the content.
2025-08-25Refs #36485 -- Removed double spaces after periods in sentences.Natalia
2025-08-25Refs #36485 -- Removed trailing spaces and tabs in docs.Natalia
2025-08-25Refs #36485 -- Fixed dangling hyphen and unbalanced inline markup in docs.David Smith
2025-08-25Refs #36485 -- Removed unnecessary parentheses in :meth: and :func: roles in ↵David Smith
docs.
2025-08-25Refs #36485 -- Added sphinx-lint support and make lint rule for docs.David Smith
This adds a `lint.py` script to run sphinx-lint on Django's docs files, a mathing `lint` target in the `docs/Makefile` and `docs/make.bat`, and updates `docs/requirements.txt` accordingly.
2025-08-25Fixed #36546 -- Deprecated django.utils.crypto.constant_time_compare() in ↵SaJH
favor of hmac.compare_digest(). Signed-off-by: SaJH <wogur981208@gmail.com>
2025-08-25Fixed #36251 -- Avoided mutating form Meta.fields in BaseInlineFormSet.SaJH
Signed-off-by: SaJH <wogur981208@gmail.com>
2025-08-23Removed reference to flake8 file exclusions.Jacob Walls
Obsolete since 41384812efe209c8295a50d78b45e0ffb2992436. (six was removed in 9285926295fbfc86b70e7be8d595d4cfbe7895b8.)
2025-08-23Refs #470 -- Adjusted Field.db_returning to be backend agnostic.Simon Charette
Determining if a field is db_returning based on the default connection feature availability prevents the usage of RETURNING for db_default fields in setups where non-default backends do support RETURNING. Whether or not the field should be attempted to be returned is already checked at the compiler level which is backend aware.
2025-08-22Refs #35530 -- Corrected deprecation message in auth.alogin().Mariusz Felisiak
Follow up to ceecd518b19044181a3598c55ebed7c2545963cc.
2025-08-22Fixed #36558, Refs #36366 -- Fixed the "show all" link hover styling in ↵antoliny0919
admin pagination. Regression in 3f59711581bd22ebd0f13fb040b15b69c0eee21f.
2025-08-21Clarified "inline foreign key" to avoid confusion with generated fields in ↵Clifford Gama
django/forms/models.py.
2025-08-21Fixed failing bulk_create test raising IntegrityError when run in reverse.Natalia
When running the `bulk_create` tests with Postgres settings and `--reverse`, the following IntegrityError was raised in bulk_create.tests.BulkCreateTransactionTests.test_objs_with_and_without_pk: django.db.utils.IntegrityError: duplicate key value violates unique constraint "bulk_create_country_pkey" DETAIL: Key (id)=(1) already exists. This branch fixes this by ensuring the ID is unique since DB sequences are not resetted between tests.
2025-08-21Refs #36366 -- Fixed page number layout in admin pagination on small screens.antoliny0919
Regression in 3f59711581bd22ebd0f13fb040b15b69c0eee21f.
2025-08-21Fixed #36399 -- Added support for multiple Cookie headers in HTTP/2 for ↵SaJH
ASGIRequest. Signed-off-by: SaJH <wogur981208@gmail.com>
2025-08-21Fixed #36560 -- Prevented UpdateCacheMiddleware from caching responses with ↵mengxun
Cache-Control 'no-cache' or 'no-store'.
2025-08-21Refs #36430, #36416, #34378 -- Simplified batch size calculation in ↵Jacob Walls
QuerySet.in_bulk().
2025-08-21Fixed #36430 -- Removed artificially low limit on single field bulk ↵Jacob Walls
operations on SQLite.
2025-08-21Fixed #36382 -- Confirmed support for GDAL 3.11.David Smith
TIGER driver was removed in GDAL 3.11. https://github.com/OSGeo/gdal/commit/eb793be0395ccba50e053a46b30cb90deb530990
2025-08-20Refs #35303 -- Made small optimizations in alogout() and aget_user().Mariusz Felisiak
In alogout(), there is no need to check the is_authenticated attribute when user is None. In aget_user(), there is no need to call get_session_auth_hash() twice. Follow up to 50f89ae850f6b4e35819fe725a08c7e579bfd099.