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
Ben Cail
80c3697e96
Refs #35782 -- Documented the get_help_text methods in password validators.
2024-10-15 12:48:45 +02:00
Natalia
fc1119e8be
Refs #35502 -- Clarified models.py file path in docs/topics/db/queries.txt.
2024-10-09 09:12:58 -03:00
Jon Janzen
50f89ae850
Fixed #35303 -- Implemented async auth backends and utils.
2024-10-07 14:19:41 +02:00
Mariusz Felisiak
5f0ed95e10
Updated sign() outputs in Cryptographic signing docs.
...
Signer/TimestampSigner use SHA-256 by default.
Follow up to 71c4fb7beb
.
2024-09-25 19:52:18 +02:00
Amir Karimi
ee5147cfd7
Fixed #29522 -- Refactored the Deserializer functions to classes.
...
Co-authored-by: Emad Mokhtar <emad.mokhtar@veneficus.nl>
2024-09-17 11:00:49 +02:00
Jacob Walls
a060a22ee2
Fixed #35660 -- Made serialized_rollback and fixture data available in TransactionTestCase.setUpClass().
2024-09-17 09:53:46 +02:00
Carlton Gibson
c0128e3a81
Fixed #35767 -- Adjusted customizing User model docs.
2024-09-16 17:40:11 -03:00
Ronny V.
f4813211e2
Added example of email sending with additional capabilities to docs/topics/email.txt.
...
Co-authored-by: Mike Edmunds <medmunds@gmail.com>
2024-09-11 13:04:43 -03:00
Clifford Gama
38c2065154
Refs #35060 -- Fixed the update to update_fields in overridden save() method docs.
...
Regression in 3915d4c70d
.
2024-09-11 13:23:36 +02:00
Jake Howard
e161bd4657
Fixed #35631 -- Added HttpRequest.get_preferred_type().
2024-09-09 12:02:18 +02:00
Natalia
8c35a0a903
Fixed CVE-2024-45231 -- Avoided server error on password reset when email sending fails.
...
On successful submission of a password reset request, an email is sent
to the accounts known to the system. If sending this email fails (due to
email backend misconfiguration, service provider outage, network issues,
etc.), an attacker might exploit this by detecting which password reset
requests succeed and which ones generate a 500 error response.
Thanks to Thibaut Spriet for the report, and to Mariusz Felisiak, Adam
Johnson, and Sarah Boyce for the reviews.
2024-09-03 09:22:32 -03:00
Claude Paroz
2c1f27d0d0
Dropped safeguards against very old versions of gettext.
...
gettext 0.19 was released in 2014.
2024-08-30 13:39:04 +02:00
nessita
7adb6dd98d
Sorted alphabetically forms list in docs/topics/auth/default.txt.
2024-08-22 09:14:11 -03:00