summaryrefslogtreecommitdiff
path: root/docs/ref
AgeCommit message (Collapse)Author
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
2024-05-16Moved FileSystemStorage note in docs to the correct place.Sarah Boyce
2024-05-14Fixed #35275 -- Fixed Meta.constraints validation crash on UniqueConstraint ↵Mariusz Felisiak
with OpClass(). This also introduces Expression.constraint_validation_compatible that allows specifying that expression should be ignored during a constraint validation.
2024-05-06Added link to the csrf template tag in the csrf page.alexgmin
2024-05-04Fixed #35426 -- Updated querysets to be a required argument of GenericPrefetch.sobolevn
2024-05-03Fixed #35427 -- Corrected help text for makemessages --extension in ↵Shamil
docs/ref/django-admin.txt.
2024-05-02Clarified when ImageField attributes are set.John Parton
2024-05-02Fixed rendering XOR section in docs.Mariusz Felisiak
2024-04-29Fixed #35412 -- Dropped support for SQLite < 3.31.Mariusz Felisiak
2024-04-26Fixed #20744 -- Removed hint that arbitrary kwargs are allowed when creating ↵Adam Zapletal
forms.Fields.
2024-04-16Doc'd that RemoveField also drops related database objects in PostgreSQL.David Sanders
2024-04-15Extended docs for Q() objects mentioning the ~ (NOT) operator.Mohammad Kazemi
Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
2024-04-10Fixed settings path in docs for installing SpatiaLite with Homebrew.Adam Johnson
Co-authored-by: Adam Zapletal <adamzap@gmail.com>
2024-04-05Refs #35354 -- Clarified FORCE_SCRIPT_NAME docs.Carlton Gibson
2024-03-27Fixed #35233 -- Moved template engine system checks to backend methods.Giannis Terzopoulos
Thanks Adam Johnson for reviews.
2024-03-21Added RowNumber() link in Rank() docs.Adam Zapletal
2024-03-18Refs #34059, Refs #34060 -- Removed outdated warning about validation of ↵Mariusz Felisiak
JSONField constraints. Known issues have been fixed in: - 0d8fbe2ade29f1b7bd9e6ba7a0281f5478603a43, - c991602ce5798385261381025c06698d7fd30dc5, and - 26aae5614487f58ddb1df5726224393887373ecd.
2024-03-18Refs #31014 -- Added srid argument to FromWKB/FromWKT() GIS functions.Claude Paroz
2024-03-15Refs #33996 -- Updated CheckConstraint validation on NULL values on Oracle 23c+.Mariusz Felisiak
Oracle 23c supports comparing boolean expressions.
2024-03-11Fixed #25595 -- Doc'd that URLValidator rejects file:// URIs without a host.Adam Zapletal
2024-03-10Fixed #35280 -- Improved iriencode filter example in docs.canhuynh1998
2024-03-06Fixed broken links and redirects in docs.Mariusz Felisiak
2024-03-06Updated broken links in docs/ref/contrib/gis/tutorial.txt.Mohammad Alsakhawy
2024-03-01Refs #33497 -- Added connection pool support for PostgreSQL.Sarah Boyce
Co-authored-by: Florian Apolloner <florian@apolloner.eu> Co-authored-by: Ran Benita <ran@unusedvar.com>
2024-03-01Refs #35234 -- Deprecated CheckConstraint.check in favor of .condition.Simon Charette
Once the deprecation period ends CheckConstraint.check() can become the documented method that performs system checks for BaseConstraint subclasses.