Dani Fornons
2d2e1a6a9d
[5.2.x] Fixed #36636 , Refs #15902 -- Removed session-based storage reference from set_language() docs.
...
Backport of 2514857e3f from main.
2025-10-03 15:18:00 -04:00
okaybro
81625a141e
[5.2.x] Fixed #36587 -- Clarified usage of list.insert() for upload handlers.
...
Thanks Baptiste Mispelon for the report
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com >
Backport of afe6634146 from main.
2025-09-29 14:51:44 +02:00
CodingWithSaksham
7554c54e5f
[5.2.x] Fixed #36581 -- Updated serialization examples from XML to JSON.
...
Backport of 762d3be8c5 from main.
2025-09-18 15:47:20 +02:00
Mridul Dhall
b8df1eb7c2
[5.2.x] Fixed #36597 -- Corrected directives for functions from email module in docs.
...
Thanks Mike Edmunds for the report.
Backport of e183d6c26c from main.
2025-09-12 18:59:58 +02:00
Mustafa Pirbhai
16a12a9799
[5.2.x] Fixed #35831 -- Documented the model form meta API in model form reference docs.
...
Co-authored-by: Jonathan <3218047+jernwerber@users.noreply.github.com >
Co-authored-by: Mustafa <117516335+mspirbhai@users.noreply.github.com >
Backport of 183fcebf88 from main.
2025-08-29 09:00:37 +02:00
mengxun
38844c348b
[5.2.x] Fixed spelling of "logged-in" when used as an adjective in docs.
...
Backport of f5c944b314 from main.
2025-08-19 12:43:52 -03:00
Rohit
1d9f6c3270
[5.2.x] Corrected code examples in topics docs.
...
Backport of fa804d0d14 from main.
2025-08-11 10:14:43 +02:00
Adam Zapletal
5ca58ce3d0
[5.2.x] Corrected assertNumQueries() example in docs/topics/testing/tools.txt.
...
Backport of dca8284a37 from main.
2025-08-04 15:08:53 +02:00
Mike Edmunds
c1356333b6
[5.2.x] Fixed typo in docs/topics/email.txt.
...
Backport of f551aeb003 from main.
2025-07-25 13:32:23 +02:00
Mike Edmunds
6966adc519
[5.2.x] Fixed get_connection() signature in docs/topics/email.txt.
...
django.core.mail.get_connection() has always supported only variable
keyword arguments (never variable positional arguments).
Backport of 5289ce65b9 from main.
2025-07-17 14:02:01 -03:00
Sarah Boyce
f5cc6a888b
[5.2.x] Corrected jsonfield fieldlookup references.
...
Backport of 8e2249bc79 from main.
2025-06-13 09:53:30 +02:00
Jacob Walls
264003146f
[5.2.x] Refs #373 -- Doc'd that on_delete is ignored for ForeignObject.
...
Backport of 76e1ca77bc from main.
2025-06-10 09:48:25 +02:00
Jacob Walls
6f99c8856d
[5.2.x] Fixed #36449 -- Fixed field types in example model using ForeignObject.
...
Backport of 5942754769 from main.
2025-06-10 09:47:37 +02:00
Clifford Gama
3c887e5e50
[5.2.x] Fixed #17461 -- Doc'd the presumed order of foreign keys on the intermediary model of a self-referential m2m.
...
Thanks Giannis Terzopoulos and Sarah Boyce for the reviews.
Backport of 9d93e35c20 from main.
2025-05-02 09:02:16 +02:00
dbogar89
c08764cb2e
[5.2.x] Fixed #36335 -- Fixed typo in docs/topics/db/managers.txt.
...
Backport of 7b394b9988 from main
2025-04-27 08:40:41 +02:00
Ahmed Nassar
cbdb1bed04
[5.2.x] Fixed #36269 -- Documented how to test callable storage in FileField.
...
Backport of 8bca33f68a from main.
2025-04-15 10:10:33 +02:00
Ahmed Nassar
aa2c7659d5
[5.2.x] Fixed #35993 -- Documented gettext f-string support limitations.
...
Thank you to Claude Paroz and Athena Wolfskämpf for the review.
Backport of 2c2f090555 from main.
2025-04-15 10:03:41 +02:00
mguegnol
45eed2c9dc
[5.2.x] Fixed typo in docs/topics/signals.txt.
...
Backport of e2b9a17913 from main
2025-03-23 20:06:09 +01:00
Clifford Gama
37b8a45f5a
[5.2.x] Fixed #36095 -- Introduced lazy references in "Models across files" section.
...
Backport of 6a2c296e70 from main.
2025-03-21 14:10:47 +01: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 8713e4ae96 from main.
2025-03-18 21:28:07 -03:00
Clifford Gama
bcb6ada288
[5.2.x] Fixed #36202 -- Added examples of JSONField __contains and __contained_by lookups with nested arrays to docs.
...
Backport of 304e9f3d6a from main
2025-03-18 21:54:46 +01:00
YQ
181280027d
[5.2.x] Fixed #36254 -- Fixed template dictionary unpacking in docs/topics/i18n/timezones.txt.
...
Backport of 30e0a43937 from main.
2025-03-17 09:47:46 +01:00
Clifford Gama
91971013a1
[5.2.x] Fixed incorrect formatting for inline pluralized code references in docs.
...
Backport of efe3ca09e0 from main.
2025-03-13 15:23:55 -03:00
hesham hatem
0a61485092
[5.2.x] Fixed #36249 -- Fixed typo in docs/topics/db/queries.txt.
...
Backport of e03440291b from main.
2025-03-12 18:09:46 -03:00
Clifford Gama
4406ce15ff
[5.2.x] Fixed #36128 -- Clarified auto-generated unique constraint on m2m through models.
...
Backport of ae2736ca3b from main.
2025-03-04 13:07:08 +01:00
Tim Graham
0e3a6c5fec
[5.2.x] Added some heading labels to to docs/topics/cache.txt.
...
Backport of 6d1cf5375f from main
2025-03-02 19:55:40 +01:00
Sarah Boyce
865337ae92
[5.2.x] Added security reporting guidelines.
...
Backport of 5935336059 from main.
2025-02-24 08:54:18 +01:00
Simon Charette
c55a808198
[5.2.x] Refs #35967 -- Doc'd DatabaseCreation.serialize_db_to_string() method.
...
Backport of 99ac8e2589 from main
2025-02-16 13:43:45 +01:00
Jacob Walls
de9f46d707
Fixed #36070 -- Clarified model validation behavior for composite pks.
2025-01-15 13:44:23 +01: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
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
Jacob Walls
470e5545e5
Refs #36042 -- Raised ValueError when providing composite expressions to aggregates.
2025-01-07 11:42:06 +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
Johannes Maron
989329344a
Fixed #35886 -- Added support for object-based form media script assets.
2025-01-02 13:08:13 +01:00
Chiemezuo
e9ed9ec043
Fixed #36008 -- Fixed order of database reset in TransactionTestCase docs.
2024-12-16 13:12:48 +01:00
amansharma612
6f38697f90
Removed links to outdated tools in docs/topics/performance.txt.
...
Co-authored-by: Aman Sharma <210100011@iitb.ac.in >
2024-12-11 16:47:18 -03:00
Anders Hovmöller
871e1ee5ff
Removed question marks from headings in docs/topics/db/fixtures.txt.
2024-12-02 21:54:48 -03:00
antoliny0919
32b9e00b0c
Fixed #35964 -- Cleaned up can_order and can_delete formset examples.
2024-12-02 12:56:46 +01:00
Bendeguz Csirmaz
978aae4334
Fixed #373 -- Added CompositePrimaryKey.
...
Thanks Lily Foote and Simon Charette for reviews and mentoring
this Google Summer of Code 2024 project.
Co-authored-by: Simon Charette <charette.s@gmail.com >
Co-authored-by: Lily Foote <code@lilyf.org >
2024-11-29 11:23:04 +01:00
Adam Zapletal
2e190a48d6
Added missing backticks to class-based views docs.
2024-11-26 17:10:39 -03:00
antoliny0919
c56e1273a9
Refs #32339 -- Updated formset docs to reflect default rendering as as_div.
2024-11-18 16:59:33 +01:00
Caitlin Hogan
ca113adbae
Fixed typo in docs/topics/performance.txt.
2024-11-18 15:12:42 +01:00
Lorenzo Peña
91c879eda5
Fixed #35784 -- Added support for preserving the HTTP request method in HttpResponseRedirectBase.
...
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com >
2024-11-14 15:53:49 -03:00
Alexander Lazarević
8590d05d44
Fixed #35887 -- Added imports and admin.site.register to non-partial admin inline doc examples.
2024-11-14 12:09:50 +01:00
Maria Hynes
7e759d9af7
Fixed #17430 -- Documented access to the Django admin when using a custom auth backend.
2024-11-14 10:29:32 +01:00
Clifford Gama
299b072498
Fixed #35843 -- Clarified formset docs about reordering forms.
2024-11-13 15:14:16 -03:00
Johanan-Ayadata
97a6a678c4
Added missing lang attributes to html elements in docs.
2024-10-30 14:02:30 +01:00
Mike Edmunds
17c8ee7e3f
Fixed #35864 -- Documented EmailMessage.connection is ignored when using send_messages().
2024-10-30 11:20:52 +01:00
Yash
35ab2e0182
Fixed #35731 -- Extended db_default docs.
...
This added a missing db_default reference in docs/topics/db/models.txt,
and added a reference to the DatabaseDefault object.
2024-10-23 11:48:30 +02:00
Ben Cail
ec7d69035a
Fixed #35782 -- Allowed overriding password validation error messages.
2024-10-15 17:23:39 +02:00