summaryrefslogtreecommitdiff
path: root/docs/ref
AgeCommit message (Collapse)Author
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.
2024-07-22[5.1.x] Refs #10941 -- Reorganized querystring template tag docs.nessita
Backport of cf03aa4e94625971852a09e869f7ee7c328b573f from main.
2024-07-15[5.1.x] Refs #10941 -- Renamed query_string template tag to querystring.Sarah Boyce
Backport of 27043bde5b795eb4a605aeca1d3bc4345d2ca478 from main.
2024-07-15[5.1.x] Fixed #35464 -- Updated docs to note fieldsets have limited impact ↵Maryam Yusuf
on TabularInlines. Backport of b5f4d76bc400b9f2017da0a52ee4ff0d7c09be15 from main.
2024-07-09[5.1.x] Fixed CVE-2024-39614 -- Mitigated potential DoS in ↵Sarah Boyce
get_supported_language_variant(). Language codes are now parsed with a maximum length limit of 500 chars. Thanks to MProgrammer for the report.
2024-07-04[5.1.x] Removed outdated note about limitations in Clickjacking protection.Mariusz Felisiak
There is no need to list old browser versions or point users to workarounds. Backport of f302343380c77e1eb5dab3b64dd70895a95926ca from main.
2024-07-04[5.1.x] Removed unneeded hyphens in "counterintuitive".Carlton Gibson
Follow-up to 65ad4ade74dc9208b9d686a451cd6045df0c9c3a which added counterintuitive to the wordlist. Removes unneeded (antiquated) hyphenated usages. See e.g. https://www.merriam-webster.com/dictionary/counterintuitive Backport of 704192e478885762411252979021771ba23b8adb from main.
2024-07-01[5.1.x] Fixed #23790 -- Warned about renaming AppConfig.label in ↵Andrew Miller
docs/ref/applications.txt. Backport of aa74c4083e047473ac385753e047e075e8f04890 from main.
2024-07-01[5.1.x] Fixed #35470 -- Separated i18n and l10n globalization settings docs.lufafajoshua
Backport of 8733e9af998f0009d62e4f0f3d5ee566e93a4893 from main.
2024-06-25[5.1.x] Optimized admin docs images.Sarah Boyce
Backport of 72b7b59680fecb0bf7108fc00cc27b0476aae107 from main.
2024-06-25[5.1.x] Refs #35380 -- Updated screenshots in admin docs.nessita
When listing users, ensure that user first and last name are diverse. Backport of bcc327aa326093a39f01a9bc98198807444900f3 from main.
2024-06-24[5.1.x] Fixed #35306 -- Documented fallback localization formats in ↵lufafajoshua
templates when localization is disabled. Backport of 3ac0e43207b4a1b9327ba12612005c285fbff7ee from main.
2024-06-20[5.1.x] Fixed #35441 -- Documented Context and RequestContext keyword arguments.John Higgins
Backport of 60acad933d66e116c89150d3eb9040f62ca871a1 from main.
2024-06-14[5.1.x] Fixed #35443 -- Changed ordinal to return negative numbers unchanged.Simon Törnqvist
Previously, `-1` was converted to `"-1th"`. This has been updated to return negative numbers "as is", so that for example `-1` is converted to `"-1"`. This is now explicit in the docs. Co-authored-by: Martin Jonson <artin.onson@gmail.com> Backport of d3a7ed5bcc45000a6c3dd55d85a4caaa83299f83 from main.
2024-06-14[5.1.x] Fixed #24076 -- Added warnings on usage of dates with DateTimeField ↵Adam Zapletal
and datetimes with DateField. Backport of 99273fd525129a973639044dfb12cfd732d8f1d6 from main.
2024-05-30[5.1.x] Made cosmetic edits to code snippets reformatted with blacken-docs.Mariusz Felisiak
Backport of 0f694ce2ebce01356d48302c33c23902b4777537 from main.
2024-05-22Fixed #31405 -- Added LoginRequiredMiddleware.Hisham Mahmood
Co-authored-by: Adam Johnson <me@adamj.eu> Co-authored-by: Mehmet İnce <mehmet@mehmetince.net> Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
2024-05-22Refs #35189 -- Updated ModelAdmin.fieldsets screenshot in admin docs.Natalia
2024-05-22Fixed #35189 -- Improved admin collapsible fieldsets by using <details> ↵Marijke Luttekes
elements. This work improves the accessibility of the add and change pages in the admin site by adding <details> and <summary> elements to the collapsible fieldsets. This has the nice side effect of no longer requiring custom JavaScript helpers to implement the fieldsets' show/hide capabilities. Thanks to James Scholes for the accessibility advice, and to Sarah Boyce and Tom Carrick for reviews. Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
2024-05-21Fixed #18119 -- Added a DomainNameValidator validator.Berker Peksag
Thanks Claude Paroz for the review. Co-authored-by: Nina Menezes <77671865+nmenezes0@users.noreply.github.com>
2024-05-21Fixed #35326 -- Added allow_overwrite parameter to FileSystemStorage.Ben Cail
2024-05-16Replaced fictional class 'extrapretty' in admin fieldsets docs.Adam Johnson