koresi
231eb7acc3
[5.2.x] Fixed #35931 -- Documented fields and methods of the FlatPage model.
...
Co-authored-by: Clifford Gama <53076065+cliff688@users.noreply.github.com>
Backport of 0ee06c04e0256094270db3ffe8b5dafa6a8457a3 from main.
2025-04-27 16:12:47 +02:00
Clifford Gama
0ba34e7ca0
[5.2.x] Clarified url
and name
arguments in flatpages URLconf ref docs.
...
Backport of a2f7b3a6a04c8c46c38040c9d9d5bdc6298bd714 from main.
2025-04-08 22:03:15 -03:00
Natalia
4d89d8c180
[5.2.x] Added missing closing parenthesis in docs/ref/contrib/flatpages.txt.
...
Backport of f9f0a183273724046710efbb3e6646d9fe3fd08e from main.
2025-04-08 22:02:58 -03:00
Babak Mahmoudy
c68f3516be
[5.2.x] Fixed #36213 -- Doc'd MySQL's handling of self-select updates in QuerySet.update().
...
Co-authored-by: Andro Ranogajec <ranogaet@gmail.com>
Backport of be1b776ad8d6f9bccfbdf63f84b16fb81a13119e from main.
2025-04-02 08:46:48 +02:00
Clifford Gama
0dba888d0c
[5.2.x] Clarified pre_delete and post_delete's origin attributes.
...
Backport of 9d5d0e8135a9654aa289cf922fcd00ad5e2a7fe5 from main.
2025-03-31 16:11:44 +02:00
dr-rompecabezas
46fdef9d22
[5.2.x] Updated ogrinfo output in GIS tutorial.
...
Backport of fb65c520401d8eefb97725d16608444901cfed14 from main
2025-03-23 21:36:33 +01:00
Clifford Gama
61535d2228
[5.2.x] Refs #36095 -- Doc'd that ManyToManyField.through supports lazy relationships.
...
Backport of eb4ea9c3efca479b169bed88a5521c4cf47ed2a2 from main.
2025-03-21 14:10:09 +01:00
Johanan Oppong Amoateng
321a5651a3
[5.2.x] Fixed #36266 -- Renamed HIDE_PRODUCTION_WARNING environment variable to DJANGO_RUNSERVER_HIDE_WARNING.
...
Backport of 5adadf6e8c74ab14d432e9d682ca1914789386de from main.
2025-03-21 10:23:13 +01:00
Sarah Boyce
143068e0de
[5.2.x] Fixed #36097 -- Replaced GIS functions table with section headers for better readability and navigation.
...
Backport of ed1e7c02c9db2cc28b3ab5621ce6315fcee54b27 from main.
2025-03-19 09:32:39 -03:00
Carlton Gibson
c779808c8e
[5.2.x] Fixed #33497 -- Doc'd that persistent DB connections should be disabled in ASGI and async modes.
...
Backport of 8713e4ae96817a0c7be3f7a8fee25a7c7f819721 from main.
2025-03-18 21:28:07 -03:00
Clifford Gama
428cb3afd6
[5.2.x] 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>
Backport of 611e7bc3a0633a35ae3430e359c646e02fa3801d from main.
2025-03-18 16:51:11 +01:00
Clifford Gama
9b60ec56dd
[5.2.x] Fixed pronoun disagreement in docs/ref/models/querysets.txt.
...
Backport of ef6a83789b310a441237a190a493c9586a4cb260 from main.
2025-03-14 10:49:28 +01:00
Clifford Gama
fa2adc383f
[5.2.x] Corrected aggregation example in docs/ref/models/querysets.txt.
...
Backport of 3235e76eb50be20756f82cb3bbe8e32cc586f7bb from main.
2025-03-14 10:48:54 +01:00
Clifford Gama
91971013a1
[5.2.x] Fixed incorrect formatting for inline pluralized code references in docs.
...
Backport of efe3ca09e029c63e25f6e19843cb0c68cc7fa816 from main.
2025-03-13 15:23:55 -03:00
Adam Johnson
5fdc951f43
[5.2.x] Refs #25582 -- Doc'd query and fragment arguments for reverse_lazy().
...
Backport of c70dbcf8358ca7ff34e76b11dae0740284663911 from main.
2025-03-12 16:43:13 +01:00
samruddhiDharankar
930d9c2fd9
[5.2.x] Fixed #36066 -- Documented that Q objects can be used directly in annotations.
...
Backport of 9120a19c4ecb643111b073dd1069e6b410a03c23 from main.
2025-03-10 12:55:50 +01:00
hesham942
d42b187022
[5.2.x] Fixed typo in docs/ref/checks.txt.
...
Backport of 8f942f1c1dbf4222c8ca48253f7959366ed1bb60 from main.
2025-03-05 16:22:01 +01:00
hesham942
b280175b5a
[5.2.x] Fixed #36227 -- Fixed outdated PostgreSQL documentation links.
...
Backport of 3ecaa85a247373d7ccbcdd593b3fd4bb701f7674 from main.
2025-03-05 15:17:19 +01:00
Clifford Gama
4406ce15ff
[5.2.x] Fixed #36128 -- Clarified auto-generated unique constraint on m2m through models.
...
Backport of ae2736ca3bf4c6a27e23ee95530ad965b550d4cc from main.
2025-03-04 13:07:08 +01:00
Sarah Boyce
d637e251b4
[5.2.x] Added security guideline on reasonable size limitations when rendering content via the DTL.
...
This also removes the need to add warnings for every Django template filter.
Backport of 582ba18d56167587e290545f113d3956e73a5801 from main.
2025-02-24 08:54:44 +01:00
Adam Zapletal
baea0f644e
[5.2.x] Clarified admonition in GeneratedField docs.
...
Backport of 43766c70bd2939771b7f37104866316faa34606b from main.
2025-02-20 14:42:08 +01:00
Sarah Boyce
bb4f65ec87
[5.2.x] Removed advice to propose a new contrib app.
...
Backport of 9d22a7d8f0e814a596ecbeb6efd051262f6a03e3 from main.
2025-02-18 16:11:08 +01:00
Luke Cousins
9cd975c7fa
[5.2.x] Corrected wording in docs/ref/models/constraints.txt.
...
Backport of 579a1c99962c8697053974a70de635a997be63dc from main.
2025-02-14 15:20:26 +01:00
Jaime Terreu
9ad5d0ac3b
[5.2.x] Fixed typo in docs/ref/databases.txt.
...
Backport of d87bb0eb3ee4ca141c6fa251e6c2c97050e6c92c from main.
2025-02-14 15:16:48 +01:00
Sarah Boyce
92d5b2f389
[5.2.x] Fixed #36182 -- Returned "?" if all parameters are removed in querystring template tag.
...
Thank you to David Feeley for the report and Natalia Bidart for the review.
Backport of 05002c153c5018e4429a326a6699c7c45e5ea957 from main.
2025-02-13 15:50:53 +01:00
Mariusz Felisiak
d3d9f3a5a4
[5.2.x] Reverted "Refs #35803 -- Added support for __coveredby GIS lookup on MariaDB 11.7+."
...
This partly reverts commit 0b7edb9fcdd33d47ec5701b4f9b9553e27a88e95.
MariaDB reverted GIS functions.
Backport of 54a902c6e81214462388f79a7c42f1c88c863dfd from main.
2025-02-13 10:40:53 +01:00
Mariusz Felisiak
fc19618171
[5.2.x] Reverted "Fixed #35803 -- Added support for Collect, GeoHash, and IsValid on MariaDB 11.7+."
...
This reverts commit c77573716a58af32ffcfc4fe87ff9e5c97909bd2.
MariaDB reverted GIS functions.
Backport of eb70aafdba18ac30e53056162c32ee6c21dea0b4 from main.
2025-02-13 10:40:07 +01:00
Natalia
0125bc15d4
[5.2.x] Refs #35515 -- Added missing docs for --no-imports
flag for the shell command.
...
Backport of 3839afb63ad5183cdf08e06e3a43a014ca4b7263 from main.
2025-02-10 22:59:27 -03:00
amirreza sohrabi far
2cbf32ed36
[5.2.x] Clarified docs for default email value in UserManager.create_user().
...
Backport of 5da3ad7bf90fba7321f4c2834db44aa920c70bc7 from main.
2025-02-04 16:36:13 -03:00
nessita
b406907af5
[5.2.x] Tweaked docs to avoid reformatting given new black version.
...
Backport of fd3cfd80bebad292d639a03e58632e494369eb92 from main.
2025-01-30 10:38:44 -03:00
Clifford Gama
93e18a87dd
[5.2.x] Fixed ambiguous pronoun reference in docs/ref/models/fields.txt.
...
Backport of 9cc3970eaaf603832c075618e61aea9ea430f719 from main.
2025-01-24 18:46:43 +01:00
Igor Scheller
ae2f5381fe
[5.2.x] Refs 35653 -- Clarified docs for EMAIL_SSL_CERTFILE and EMAIL_SSL_KEYFILE settings.
...
Backport of 136a1e89278070fd100f27d9519529be8a8a8c10 from main.
2025-01-21 19:36:26 -03:00
Matthias Kestenholz
6a7ee02f59
Fixed #35521 -- Allowed overriding BoundField class on fields, forms and renderers.
...
Thank you Sarah Boyce, Carlton Gibson, Tim Schilling and Adam Johnson
for reviews.
Co-authored-by: Christophe Henry <contact@c-henry.fr>
Co-authored-by: David Smith <smithdc@gmail.com>
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
Co-authored-by: Matthias Kestenholz <mk@feinheit.ch>
2025-01-15 17:04:26 -03:00
Jacob Walls
f054045973
Refs #36070 -- Referred to pk as an attribute when a composite primary key is defined.
...
This is to avoid confusion that a field is often associated with having
a single associated database column.
2025-01-15 13:44:23 +01:00
Jacob Walls
d206d4c200
Fixed #36051 -- Declared arity on aggregate functions.
...
Follow-up to 4a66a69239c493c05b322815b18c605cd4c96e7c.
2025-01-14 16:47:07 +01:00
Simon Charette
e580926d74
Fixed #36075 -- Documented how to introspect composite primary keys.
...
Document _meta.pk_fields and interactions between Field.primary_key and
CompositePrimaryKey.
Thanks Mariusz for the review.
2025-01-14 16:20:17 +01:00
Michael Manfre
ca2be7724e
Fixed CVE-2024-56374 -- Mitigated potential DoS in IPv6 validation.
...
Thanks Saravana Kumar for the report, and Sarah Boyce and Mariusz
Felisiak for the reviews.
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2025-01-14 08:42:24 -03:00
Jacob Walls
d66137b39b
Fixed #36077 -- Corrected docs on pk value where Model.save() executes an UPDATE.
...
The empty string is no longer special-cased since
c2ba59fc1da5287d6286e2c2aca4083d5bafe056.
2025-01-13 11:18:02 +01:00
Salvo Polizzi
fc28550fe4
Fixed #35515 -- Added automatic model imports to shell management command.
...
Thanks to Bhuvnesh Sharma and Adam Johnson for mentoring this Google
Summer of Code 2024 project. Thanks to Sarah Boyce, David Smith, Jacob
Walls and Natalia Bidart for reviews.
2025-01-09 13:00:29 -03:00
Jacob Walls
470e5545e5
Refs #36042 -- Raised ValueError when providing composite expressions to aggregates.
2025-01-07 11:42:06 +01:00
John Parton
40d5516385
Fixed #35718 -- Add JSONArray to django.db.models.functions.
...
Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2025-01-06 10:08:32 +01:00
Chris Muthig
d734f1651c
Refs #35444 -- Deprecated contrib.postgres aggregates ordering for order_by.
...
Aligns the argument with SQL standards already used in Window.order_by and
sets up for adding support to Aggregate.
2025-01-06 09:39:21 +01:00
Chaitanya Rahalkar
d97cacc2ae
Fixed #36026 -- Clarified that View.setup() sets the request, args, kwargs attributes.
2025-01-03 14:11:23 +01:00
David Smith
987854ba44
Fixed #32819 -- Added aria-describedby to fields with errors.
2025-01-02 16:40:39 +01:00
Ari Pollak
ad385ae163
Fixed #36037 -- Fixed default primary key type in docs.
...
BigAutoField is the default type for primary keys. In models.txt, the linked
anchor shows that the default primary key is a BigAutoField, so it now defers
to that section instead of duplicating an (incorrect) type.
2025-01-02 15:25:59 +01:00
Mariusz Felisiak
b322319f9d
Fixed #36034 -- Added system check for ForeignKey/ForeignObject/ManyToManyField to CompositePrimaryKeys.
2025-01-02 13:06:47 +01:00
David Smith
8d9901c961
Fixed #35891 -- Confirmed support for GDAL 3.10.
2024-12-27 12:21:04 -03:00
Andrew Miller
0fc6d5362b
Fixed #26007 -- Clarified SingleObjectTemplateResponseMixin.get_template_names() docs.
2024-12-18 13:08:14 +01:00
David Smith
1e05431881
Refs #32819 -- Added aria-describedby property to BoundField.
2024-12-17 12:04:44 +01:00
suraj
0d9872fc9a
Fixed #7732 -- Added support for connection pools on Oracle.
2024-12-17 11:26:32 +01:00