summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-03-30Fixed warnings per flake8 7.2.0.Mariusz Felisiak
https://github.com/PyCQA/flake8/releases/tag/7.2.0
2025-03-28Fixed #36239 -- Fixed a crash in ManyToManyField.through_fields check when ↵saJaeHyukc
to model is invalid. Signed-off-by: saJaeHyukc <wogur981208@gmail.com>
2025-03-28Refs #34619 -- Fixed labels width in FilteredSelectMultiple in the admin.Mariusz Felisiak
Visual regression in 857b1048d53ebf5fc5581c110e85c212b81ca83a.
2025-03-28Simplified Intersphinx configuration example.Carlton Gibson
docs.djangoproject.com had been updated to serve the object.inv file from the default location, so the second tuple element can be None (the "default" value).
2025-03-27Doc'd how to use Intersphinx in the reusable apps tutorial.Carlton Gibson
2025-03-27Fixed #34917 -- Underlined links in the main content area of the admin.antoliny0919
2025-03-27Fixed #35440 -- Simplified parse_header_parameters by leveraging stdlid's ↵Khudyakov Artem
Message. The `parse_header_parameters` function historically used Python's `cgi` module (now deprecated). In 34e2148fc725e7200050f74130d7523e3cd8507a, the logic was inlined to work around this deprecation ( #33173). Later, in d4d5427571b4bf3a21c902276c2a00215c2a37cc, the header parsing logic was further cleaned up to align with `multipartparser.py` (#33697). This change takes it a step further by replacing the copied `cgi` logic with Python's `email.message.Message` API for a more robust and maintainable header parsing implementation. Thanks to Raphael Gaschignard for testing, and to Adam Johnson and Shai Berger for reviews. Co-authored-by: Ben Cail <bcail@crossway.org> Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2025-03-26Refs #34619 -- Corrected selector description in the admin.Mariusz Felisiak
2025-03-26Fixed #34819 -- Made GenericForeignKey prefetching use matching pk ↵Clifford Gama
representations. Ensured that rel_obj_attr and instance_attr return matching (pk, cls) tuples in GenericForeignKey.get_prefetch_queryset(), preventing mismatches when prefetching related objects where pk and get_prep_value() differ. Using value_to_string() also makes this code compatible with composite primary keys.
2025-03-26Refs #36260 -- Moved _is_pk_set checks into _prepare_for_bulk_create().Simon Charette
To avoid looping over objs twice.
2025-03-26Fixed #36260 -- Made bulk_create() work with DB-generated primary keys.Dmitry Shachnev
Co-authored-by: Simon Charette <charette.s@gmail.com>
2025-03-26Added stub release notes and release date for 5.1.8 and 5.0.14.Sarah Boyce
2025-03-25Fixed #35529 -- Added support for positional arguments in querystring ↵Giannis Terzopoulos
template tag. Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2025-03-25Fixed #36262 -- Made GeneratedField.db_persist a required key-word argument.Jason Cameron
2025-03-25Fixed #35452 -- Deprecated orphans being more than or equal to page_size in ↵wookkl
pagination.
2025-03-25Fixed #36276 -- Omitted size=None from ArrayField.deconstruct().Tim Graham
2025-03-24Fixed #36271 -- Raised TemplateSyntaxError when using a relative template ↵YogyaChugh
path with an unknown origin.
2025-03-24Fixed #36268 -- Added leading `?` in every querystring template tag result.Natalia
Thanks Sarah Boyce for the report.
2025-03-24Improved and reorganized querystring template tag docstring and ref docs.Natalia
2025-03-24Ensured consistency in naming in ↵Natalia
template_tests/syntax_tests/test_querystring.py.
2025-03-23Updated ogrinfo output in GIS tutorial.dr-rompecabezas
2025-03-23Fixed typo in docs/topics/signals.txt.mguegnol
2025-03-21Documented the updating of translation catalogs in post-release tasks.Sarah Boyce
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2025-03-21Fixed #36095 -- Introduced lazy references in "Models across files" section.Clifford Gama
2025-03-21Refs #36095 -- Doc'd that ManyToManyField.through supports lazy relationships.Clifford Gama
2025-03-21Fixed #36266 -- Renamed HIDE_PRODUCTION_WARNING environment variable to ↵Johanan Oppong Amoateng
DJANGO_RUNSERVER_HIDE_WARNING.
2025-03-21Fixed #36138 -- Changed ADMINS and MANAGERS settings to lists of strings.Mike Edmunds
Previously, the ADMINS and MANAGERS settings were lists of (name, address) tuples (where the name had been unused). Deprecated use of tuples. Updated settings value sanity checks, and changed from ValueError to ImproperlyConfigured.
2025-03-19Updated source translation catalogs.Mariusz Felisiak
Forwardport of d2b1ec551567c208abfdd21b27ff6d08ae1a6371 from stable/5.2.x
2025-03-19Fixed #36000 -- Deprecated HTTP as the default protocol in urlize and ↵Ahmed Nassar
urlizetrunc.
2025-03-19Fixed #36097 -- Replaced GIS functions table with section headers for better ↵Sarah Boyce
readability and navigation.
2025-03-18Refs #35980 -- Updated internal docs for artifact upload and release via ↵Baptiste Mispelon
admin site. Recent updates to djangoproject.com extended the `Release` model to support uploading and storing artifacts and checksum files. This branch updates the "How to release Django" docs to match the new release flow.
2025-03-18Fixed #33497 -- Doc'd that persistent DB connections should be disabled in ↵Carlton Gibson
ASGI and async modes.
2025-03-18Fixed #36202 -- Added examples of JSONField __contains and __contained_by ↵Clifford Gama
lookups with nested arrays to docs.
2025-03-18Fixed #36078 -- Doc'd that Postgres normalizes a range field with no points ↵Clifford Gama
to empty. Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
2025-03-18Configured GitHub to highlight HTML files as Django templates.Adam Johnson
2025-03-18Handled WebDriverException from Chrome driver version 113+.Sarah Boyce
2025-03-18Made selenium tests less flaky by waiting until popups are closed and page ↵Sarah Boyce
is loaded.
2025-03-18Refs #36138 -- Cleaned up duplicate code in mail_admins()/mail_managers().Mike Edmunds
2025-03-18Refs #36138 -- Improved tests for mail_admins() and mail_managers().Mike Edmunds
- Separated MailTests.test_connection_arg test cases. - Expanded test cases for incorrect values of ADMINS/MANAGERS settings. - Added test case verifying correct values of ADMINS/MANAGERS settings.
2025-03-17Fixed #34865 -- Released memory earlier than garbage collection on database ↵fowczrek
wrapping layers. Thank you Florian Apolloner, Jake Howard and Patryk Zawadzki for the clarifying comments and reviews.
2025-03-17Fixed #36252 -- Handled duplicate automatic imports in the shell command.hesham942
2025-03-17Fixed #33537 -- Made test database cloning on MySQL reraise unexpected errors.Mariusz Felisiak
Thanks Faakhir Zahid and Stephen Finucane for the initial patch. Thanks Simon Charette for the review.
2025-03-17Fixed #36254 -- Fixed template dictionary unpacking in ↵YQ
docs/topics/i18n/timezones.txt.
2025-03-14Fixed pronoun disagreement in docs/ref/models/querysets.txt.Clifford Gama
2025-03-14Corrected aggregation example in docs/ref/models/querysets.txt.Clifford Gama
2025-03-13Fixed incorrect formatting for inline pluralized code references in docs.Clifford Gama
2025-03-13Refs #35945 -- Fixed ↵Mariusz Felisiak
test_paginating_unordered_queryset_raises_warning_async() test on byte-compiled Django.
2025-03-12Fixed #36249 -- Fixed typo in docs/topics/db/queries.txt.hesham hatem
2025-03-12Fixed #36234 -- Restored single_object argument to ↵Adam Johnson
LogEntry.objects.log_actions(). Thank you Adam Johnson for the report and fix. Thank you Sarah Boyce for your spot on analysis. Regression in c09bceef68e5abb79accedd12dade16aa6577a09, which is partially reverted in this branch. Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
2025-03-12Refs #34380 -- Fixed the documented URLField default scheme to https.Sarah Boyce
Missed in 9a3f86e96009c1137b286f6d579b9d812a0dee69.