summaryrefslogtreecommitdiff
path: root/docs/ref
AgeCommit message (Collapse)Author
2025-03-05[5.1.x] Fixed typo in docs/ref/checks.txt.hesham942
Backport of 8f942f1c1dbf4222c8ca48253f7959366ed1bb60 from main.
2025-03-05[5.1.x] Fixed #36227 -- Fixed outdated PostgreSQL documentation links.hesham942
Backport of 3ecaa85a247373d7ccbcdd593b3fd4bb701f7674 from main.
2025-03-04[5.1.x] Fixed #36128 -- Clarified auto-generated unique constraint on m2m ↵Clifford Gama
through models. Backport of ae2736ca3bf4c6a27e23ee95530ad965b550d4cc from main.
2025-02-24[5.1.x] Added security guideline on reasonable size limitations when ↵Sarah Boyce
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-20[5.1.x] Clarified admonition in GeneratedField docs.Adam Zapletal
Backport of 43766c70bd2939771b7f37104866316faa34606b from main.
2025-02-18[5.1.x] Removed advice to propose a new contrib app.Sarah Boyce
Backport of 9d22a7d8f0e814a596ecbeb6efd051262f6a03e3 from main.
2025-02-14[5.1.x] Corrected wording in docs/ref/models/constraints.txt.Luke Cousins
Backport of 579a1c99962c8697053974a70de635a997be63dc from main.
2025-02-14[5.1.x] Fixed typo in docs/ref/databases.txt.Jaime Terreu
Backport of d87bb0eb3ee4ca141c6fa251e6c2c97050e6c92c from main.
2025-02-13[5.1.x] Fixed #36182 -- Returned "?" if all parameters are removed in ↵Sarah Boyce
querystring template tag. Thank you to David Feeley for the report and Natalia Bidart for the review. Backport of 05002c153c5018e4429a326a6699c7c45e5ea957 from main.
2025-02-04[5.1.x] Clarified docs for default email value in UserManager.create_user().amirreza sohrabi far
Backport of 5da3ad7bf90fba7321f4c2834db44aa920c70bc7 from main.
2025-01-30[5.1.x] Corrected ArrayAgg example for ordering usage.nessita
2025-01-30[5.1.x] Tweaked docs to avoid reformatting given new black version.nessita
Backport of fd3cfd80bebad292d639a03e58632e494369eb92 from main.
2025-01-24[5.1.x] Fixed ambiguous pronoun reference in docs/ref/models/fields.txt.Clifford Gama
Backport of 9cc3970eaaf603832c075618e61aea9ea430f719 from main.
2025-01-21[5.1.x] Refs 35653 -- Clarified docs for EMAIL_SSL_CERTFILE and ↵Igor Scheller
EMAIL_SSL_KEYFILE settings. Backport of 136a1e89278070fd100f27d9519529be8a8a8c10 from main.
2025-01-14[5.1.x] Fixed CVE-2024-56374 -- Mitigated potential DoS in IPv6 validation.Michael Manfre
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-13[5.1.x] Fixed #36077 -- Corrected docs on pk value where Model.save() ↵Jacob Walls
executes an UPDATE. The empty string is no longer special-cased since c2ba59fc1da5287d6286e2c2aca4083d5bafe056. Backport of d66137b39b1503ca3d4d4fac687251adbc845068 from main.
2024-11-14[5.1.x] Removed misleading list of tested OS in GEOS API docs.Anthony Joseph
Backport of 512a2bad0574a3748cb2f141a761a286a67f0ae9 from main.
2024-11-11[5.1.x] Updated validate_slug regular expression in form validation docs.antoliny0919
Outdated since 014247ad1922931a2f17beaf6249247298e9dc44. Backport of 63dbe30d3363715deaf280214d75b03f6d65a571 from main.
2024-11-11[5.1.x] Updated BRIN index links in contrib.postgres indexes docs.Adam Zapletal
Backport of 54774e790d461d94653a4a83a7f5cc456e6d246a from main.
2024-11-06[5.1.x] Fixed #35889 -- Corrected reference of default widgets in "Styling ↵antoliny0919
widget instance" docs. Backport of 18b3a9dd395278232354a4f2507660a4f849c6eb from main.
2024-11-05[5.1.x] Fixed #35880 -- Removed invalid example in form Field.required docs ↵antoliny0919
due to CharField.strip. CharField.strip was introduced in 11cac1bd8ef7546ca32d9969d4348bf412dc6664, and is True by default, meaning the previous example of " " raised a ValidationError. Backport of 72de38239fdc97751e1e4ed245c7073c31bbd28a from main.
2024-11-04[5.1.x] Made minor edits to form fields docs.antoliny0919
Backport of 4fcbdb11b114bc4d2dc50663f8053de2f18c0770 from main.
2024-10-30[5.1.x] Added missing lang attributes to html elements in docs.Johanan-Ayadata
Backport of 97a6a678c406b0049bd17bcd34f1d71d96141994 from main.
2024-10-30[5.1.x] Fixed #35873 -- Corrected Form.as_table() call in form docs.antoliny0919
Backport of 8f3dee1dfdc4242348c6cd6ead1c359cda78c2b5 from main.
2024-10-29[5.1.x] Corrected note on importing fields in model field reference docs.aruseni
Backport of d7f78eb5d6c9250789fb3975b01e2a71d0e39577 from main.
2024-10-29[5.1.x] Fixed typo in ref/models/fields.txt.Clifford Gama
Backport of 799c3778186167eca3ed43f0e480738a607381de from main.
2024-10-29[5.1.x] Fixed #35871 -- Corrected example on altering the base_fields ↵antoliny0919
attribute in forms docs. Backport of 738e0601d597d4b6bee0000f645994495af984d8 from main.
2024-10-24[5.1.x] Refs #26029 -- Extended docs for the StorageHandler default instance.Carlton Gibson
Third-party packages that provide storages need to rely on the StorageHandler API in order to allow users to use the `storages` module instance to override defaults. Minimally documenting these methods allows package authors to rely on them. Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> Backport of 6dcab75d5d8c2ef18de15323930057e6fa9ec00f from main.
2024-10-24[5.1.x] Fixed #22828 -- Warned that ModelAdmin get hooks return the property ↵koresi
itself rather a copy. Backport of b8e9cdf13b7ab6621926a5d2aad3e2bb745aae00 from main.
2024-10-23[5.1.x] Doc'd that unusable passwords are defined by metadata in the ↵David D Lowe
password field. Backport of de2bb73904009313bae3664ef71edfd60df9912b from main.
2024-10-23[5.1.x] Fixed #35731 -- Extended db_default docs.Yash
This added a missing db_default reference in docs/topics/db/models.txt, and added a reference to the DatabaseDefault object. Backport of 35ab2e018214479fa712d73f070198299ef670a1 from main.
2024-10-22[5.1.x] Added missing alt attribute to <img> tag in docs.ssanger
Backport of df6013b2b4e93ed6d127c2f572e6de0ba46d1d6a from main.
2024-10-17[5.1.x] Fixed #26322 -- Consolidated lazy relationships details in ↵Clifford Gama
docs/ref/models/fields.txt. Reorganized docs to list and explain the types of lazy relationships that can be defined in related fields. Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> Backport of 65f3cfce59395131f318cf1ecba144530ed6609e from main.
2024-10-02[5.1.x] Reindented attributes and methods for classes in ↵nessita
docs/ref/middleware.txt. Backport of 1feedc8ef8a34484cb5afe33f5c45b543b860210 from main.
2024-10-02[5.1.x] Fixed #35670 -- Clarified the return value for ↵Aditya Chaudhary
LoginRequiredMiddleware's methods. Backport of efc3b0c627f7e3cb4e337280ecd2483758dcb0a5 from main.
2024-09-30[5.1.x] Relocated path() explanation to docs/ref/urls.txt to simplify ↵Chiara Mezzavilla
tutorial 1. Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> Backport of 73e8e811416dcb5007ad9cc9d1632aaca95bf302 from main.
2024-09-07[5.1.x] Fixed #35681 -- Corrected geoip2 docs when describing GeoIP2Exception.Jon Ribbens
Backport of 826ef006681eae1e9b4bd0e4f18fa13713025cba from main.
2024-09-03[5.1.x] Fixed CVE-2024-45231 -- Avoided server error on password reset when ↵Natalia
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[5.1.x] Fixed CVE-2024-45230 -- Mitigated potential DoS in urlize and ↵Sarah Boyce
urlizetrunc template filters. Thanks MProgrammer (https://hackerone.com/mprogrammer) for the report.
2024-08-28[5.1.x] Removed outdated note about lack of subquery support in MySQL.Adam Johnson
Backport of 26a67943ac5c2f196621220b24f4314d84471d07 from main.
2024-08-28[5.1.x] Fixed typo in docs/ref/models/expressions.txt.Mariusz Felisiak
Backport of fed11ba4617a5fa151bbabb91eb27ec01dd7c942 from main.
2024-08-13[5.1.x] Fixed typo of --no-startup in django-admin docs.David Smith
Backport of 5ae99226669bc516ecb0ed17066ec11a898fddab from main.
2024-08-08[5.1.x] Doc'd that SessionMiddleware is required for the admin site.Jure Cuhalev
The system check "admin.E410" was already checking for this, but the requirement was not listed in docs/ref/contrib/admin/index.txt. Backport of f8ef4579ea710f93ec7edc93c6f3f216bd55d6be from main.
2024-08-08[5.1.x] Refs #35591 -- Emphasized that runserver is not suitable for production.Andrew Miller
Backport of cec62fb99e8ff63f30c7871a048ab15081142668 from main.
2024-08-08[5.1.x] Refs #31405 -- Improved LoginRequiredMiddleware documentation.Adam Johnson
co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> Backport of 49815f70e4508ae21135f725da177fc2935de32c from main.
2024-08-05[5.1.x] Used :pypi: role in docs where appropriate.Mariusz Felisiak
Backport of 304d25667433a59409e334a93acaaa9201840508 from main.
2024-08-05[5.1.x] Refs #35380 -- Updated screenshots in admin docs.Natalia
Backport of 90adba85b29230acfe354bffd82bc0d3a4d63c9d from main.
2024-07-25[5.1.x] Fixed #35627 -- Raised a LookupError rather than an unhandled ↵Lorenzo Peña
ValueError in get_supported_language_variant(). LocaleMiddleware didn't handle the ValueError raised by get_supported_language_variant() when language codes were over 500 characters. Regression in 9e9792228a6bb5d6402a5d645bc3be4cf364aefb. Backport of 0e94f292cda632153f2b3d9a9037eb0141ae9c2e from main.
2024-07-24[5.1.x] Fixed #35604, Refs #35326 -- Made FileSystemStorage.exists() ↵Sarah Boyce
behaviour independent from allow_overwrite. Partially reverts 0b33a3abc2ca7d68a24f6d0772bc2b9fa603744e. Storage.exists(name) was documented to "return False if the name is available for a new file." but return True if the file exists. This is ambiguous in the overwrite file case. It will now always return whether the file exists. Thank you to Natalia Bidart and Josh Schneier for the review. Backport of 8d6a20b656ff3fa18e36954668a44a831c2f6ddd from main.
2024-07-23[5.1.x] Updated example links in urlize docs.Matthew Somerville
goo.gl links are being removed in 2025: https://developers.googleblog.com/en/google-url-shortener-links-will-no-longer-be-available/ Backport of fb7be022cb44d8faec52f17042fa58e4c9f02daf from main.