Natalia
5020a9d43a
Replaced '' with * for consistent emphasis styling in docs/howto/custom-template-tags.txt.
2025-04-15 14:48:55 -03:00
Ahmed Nassar
be402891cd
Fixed #36311 -- Unified spelling of "hardcode" and its variants in docs.
...
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com >
2025-04-15 14:48:55 -03:00
Ahmed Nassar
abbcef5280
Refs #36311 -- Unified spelling of "flatpage" in docs/ref/contrib/flatpages.txt.
2025-04-15 14:48:55 -03:00
Ahmed Nassar
8bca33f68a
Fixed #36269 -- Documented how to test callable storage in FileField.
2025-04-15 10:05:59 +02:00
Ahmed Nassar
2c2f090555
Fixed #35993 -- Documented gettext f-string support limitations.
...
Thank you to Claude Paroz and Athena Wolfskämpf for the review.
2025-04-15 10:02:25 +02:00
Baptiste Mispelon
ac16d2876d
Fixed #36320 -- Ignored "duplicated_toc_entry" for ePub docs build.
2025-04-12 19:39:07 +02:00
Simon Charette
21f8be76d4
Fixed #36288 -- Addressed improper handling of duplicates in values_list().
...
Now that selected aliases are stored in sql.Query.selected: dict[str, Any]
the values_list() method must ensures that duplicate field name references are
assigned unique aliases.
Refs #28900 .
Regression in 65ad4ade74 .
Thanks Claude for the report.
2025-04-11 09:04:49 +02:00
Clifford Gama
a2f7b3a6a0
Clarified url and name arguments in flatpages URLconf ref docs.
2025-04-08 22:02:10 -03:00
Natalia
f9f0a18327
Added missing closing parenthesis in docs/ref/contrib/flatpages.txt.
2025-04-08 22:02:10 -03:00
Simon Charette
71a19a0e47
Fixed #36301 -- Fixed select_for_update(of) crash when using values()/values_list().
...
Regression in 65ad4ade74 which allowed for
annotations to be SELECT'ed before model field references through
values()/values_list() and broke assumptions the select_for_update(of)
table infererence logic had about model fields always being first.
Refs #28900 .
Thanks OutOfFocus4 for the report and Sarah for the test.
2025-04-07 22:56:40 +02:00
Sarah Boyce
8ad3e80e88
Fixed #36298 -- Truncated the overwritten file content in file_move_safe().
...
Regression in 58cd4902a7 .
Thanks Baptiste Mispelon for the report.
2025-04-07 16:11:36 +02:00
Simon Charette
12b771a1ec
Fixed #36299 -- Prevented field selection on QuerySet.alias() after values().
...
Regression in 65ad4ade74 .
Refs #28900 .
Thanks Jeff Iadarola for the report and tests.
Co-Authored-By: OutOfFocus4 <jeff.iadarola@gmail.com >
2025-04-05 20:43:50 +02:00
Simon Charette
764af7a3d6
Fixed #36289 -- Fixed bulk_create() crash with nullable geometry fields on PostGIS.
...
Swapped to an allow list instead of a deny list for field types to
determine if the UNNEST optimization can be enabled to avoid further
surprises with other types that would require further specialization to
adapt.
Regression in a16eedcf9c .
Thanks Joshua Goodwin for the report and Sarah Boyce for the test.
2025-04-04 21:33:04 +02:00
Natalia
4a824b1313
Added usage for --since when fetching translations in docs/internals/howto-release-django.txt.
2025-04-04 15:55:07 -03:00
koffi
019acad112
Fixed #36255 -- Renamed the admin action button for improved accessibility.
2025-04-04 17:41:13 +02:00
Simon Charette
f7f38f3a0b
Fixed #36290 -- Made TupleIn() lookup discard tuples containing None.
...
Just like the In() lookup discards of None members TupleIn() should
discard tuples containing any None as NULL != NULL in SQL and the
framework expects such queries to be elided under some circumstances.
Refs #31667 , #36116 .
Thanks Basptise Mispelon for bisecting the regression to 626d77e .
2025-04-03 20:40:43 +02:00
Simon Charette
543e17c440
Fixed #36292 -- Fixed crash when aggregating over a group mixing transforms and references.
...
Regression in 65ad4ade74 .
Refs #28900
Thanks Patrick Altman for the report.
2025-04-03 17:51:26 +02:00
Sarah Boyce
c7ff347c64
Added stub release notes for 5.2.1.
2025-04-02 15:24:48 +02:00
Sarah Boyce
345ba995c0
Finalized release notes for Django 5.2.
2025-04-02 14:43:00 +02:00
Sarah Boyce
b83dab7d8d
Added CVE-2025-27556 to security archive.
2025-04-02 13:31:24 +02:00
Sarah Boyce
39e2297210
Fixed CVE-2025-27556 -- Mitigated potential DoS in url_has_allowed_host_and_scheme() on Windows.
...
Thank you sw0rd1ight for the report.
2025-04-02 10:21:33 +02:00
Babak Mahmoudy
be1b776ad8
Fixed #36213 -- Doc'd MySQL's handling of self-select updates in QuerySet.update().
...
Co-authored-by: Andro Ranogajec <ranogaet@gmail.com >
2025-04-02 08:45:03 +02:00
Aarni Koskela
6b32506739
Fixes #36215 -- Included unpacking generalization notes in coding style guide (PEP-448).
2025-03-31 22:43:13 -03:00
Anthony Joseph
6888375c53
Fixed #22977 -- Added system check for clashing managers and reverse related fields.
...
With thanks to Konrad Świat, Loïc Bistuer, Russell Keith-Magee,
and Mariusz Felisiak.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com >
2025-03-31 22:20:43 +02:00
Clifford Gama
9d5d0e8135
Clarified pre_delete and post_delete's origin attributes.
2025-03-31 16:10:44 +02:00
Song Junho
126417be43
Fixed #36265 -- Added support for serialization of ZoneInfo instances in migrations.
2025-03-31 13:44:54 +02:00
Carlton Gibson
5df512e53a
Simplified Intersphinx configuration example.
...
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-28 09:36:13 +01:00
Carlton Gibson
6e54e20cc3
Doc'd how to use Intersphinx in the reusable apps tutorial.
2025-03-27 17:35:12 +01:00
antoliny0919
849f8307a5
Fixed #34917 -- Underlined links in the main content area of the admin.
2025-03-27 13:27:33 +01:00
Khudyakov Artem
9aabe7eae3
Fixed #35440 -- Simplified parse_header_parameters by leveraging stdlid's Message.
...
The `parse_header_parameters` function historically used Python's `cgi`
module (now deprecated). In 34e2148fc7 ,
the logic was inlined to work around this deprecation ( #33173 ). Later,
in d4d5427571 , 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-27 08:57:03 -03:00
Dmitry Shachnev
77b4ecbd53
Fixed #36260 -- Made bulk_create() work with DB-generated primary keys.
...
Co-authored-by: Simon Charette <charette.s@gmail.com >
2025-03-26 09:55:09 +01:00
Sarah Boyce
c75fbe8430
Added stub release notes and release date for 5.1.8 and 5.0.14.
2025-03-26 09:00:27 +01:00
Giannis Terzopoulos
a39c28706a
Fixed #35529 -- Added support for positional arguments in querystring template tag.
...
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com >
2025-03-25 12:23:41 -03:00
Jason Cameron
9608678704
Fixed #36262 -- Made GeneratedField.db_persist a required key-word argument.
2025-03-25 12:50:24 +01:00
wookkl
334677ad57
Fixed #35452 -- Deprecated orphans being more than or equal to page_size in pagination.
2025-03-25 12:04:13 +01:00
Natalia
0b4f2d8d39
Fixed #36268 -- Added leading ? in every querystring template tag result.
...
Thanks Sarah Boyce for the report.
2025-03-24 11:53:42 -03:00
Natalia
b1c1fd33ed
Improved and reorganized querystring template tag docstring and ref docs.
2025-03-24 11:53:42 -03:00
dr-rompecabezas
fb65c52040
Updated ogrinfo output in GIS tutorial.
2025-03-23 20:40:27 +01:00
mguegnol
e2b9a17913
Fixed typo in docs/topics/signals.txt.
2025-03-23 20:02:42 +01:00
Sarah Boyce
922c1c732a
Documented the updating of translation catalogs in post-release tasks.
...
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com >
2025-03-21 14:54:29 +01:00
Clifford Gama
6a2c296e70
Fixed #36095 -- Introduced lazy references in "Models across files" section.
2025-03-21 14:09:10 +01:00
Clifford Gama
eb4ea9c3ef
Refs #36095 -- Doc'd that ManyToManyField.through supports lazy relationships.
2025-03-21 14:09:10 +01:00
Johanan Oppong Amoateng
5adadf6e8c
Fixed #36266 -- Renamed HIDE_PRODUCTION_WARNING environment variable to DJANGO_RUNSERVER_HIDE_WARNING.
2025-03-21 10:19:36 +01:00
Mike Edmunds
e295033144
Fixed #36138 -- Changed ADMINS and MANAGERS settings to lists of strings.
...
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-21 10:17:57 +01:00
Ahmed Nassar
ec7044c706
Fixed #36000 -- Deprecated HTTP as the default protocol in urlize and urlizetrunc.
2025-03-19 14:28:42 +01:00
Sarah Boyce
ed1e7c02c9
Fixed #36097 -- Replaced GIS functions table with section headers for better readability and navigation.
2025-03-19 09:16:32 -03:00
Baptiste Mispelon
08dae5bd46
Refs #35980 -- Updated internal docs for artifact upload and release via 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-18 22:15:26 -03:00
Carlton Gibson
8713e4ae96
Fixed #33497 -- Doc'd that persistent DB connections should be disabled in ASGI and async modes.
2025-03-18 21:26:57 -03:00
Clifford Gama
304e9f3d6a
Fixed #36202 -- Added examples of JSONField __contains and __contained_by lookups with nested arrays to docs.
2025-03-18 21:54:10 +01:00
Clifford Gama
611e7bc3a0
Fixed #36078 -- Doc'd that Postgres normalizes a range field with no points to empty.
...
Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com >
2025-03-18 16:49:53 +01:00