summaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)Author
2024-06-28Refs #22712 -- Corrected deprecation of "all" argument in ↵Mariusz Felisiak
django.contrib.staticfiles.finders.find(). Features deprecated in Django 5.2 should be removed in Django 6.1.
2024-06-27Fixed #22712 -- Avoided name shadowing of "all" in ↵Andreu Vallbona
django.contrib.staticfiles.finders. Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-06-26Added references to the Django Discord server inside the FAQ docs.raffaella
2024-06-25Optimized admin docs images.Sarah Boyce
2024-06-25Refs #35380 -- Updated screenshots in intro docs.Sarah Boyce
2024-06-25Fixed #35558 -- Increased inline H3 headers color prominence in admin change ↵Sarah Boyce
page.
2024-06-25Refs #35380 -- Updated screenshots in admin docs.nessita
When listing users, ensure that user first and last name are diverse.
2024-06-25Fixed #35540 -- Fixed the padding on admin login page.arjunomray
2024-06-25Fixed #34886 -- Modified sample use of lazy in delayed translations.lufafajoshua
Modified example to use python standard library function to lower the case of the string.
2024-06-24Migrated setuptools configuration to pyproject.toml.Claude Paroz
This branch migrates setuptools configuration from setup.py/setup.cfg to pyproject.toml. In order to ensure that the generated binary files have consistent casing (both the tarball and the wheel), setuptools version is limited to ">=61.0.0,<69.3.0". Configuration for flake8 was moved to a dedicated .flake8 file since it cannot be configured via pyproject.toml. Also, __pycache__ exclusion was removed from MANIFEST and the extras/Makefile was replaced with a simpler build command. Co-authored-by: Nick Pope <nick@nickpope.me.uk>
2024-06-24Fixed #35306 -- Documented fallback localization formats in templates when ↵lufafajoshua
localization is disabled.
2024-06-21Fixed #35461 -- Updated misleading django-debug-toolbar instructions.Rosana Rufer
The DjDT "handle" isn't visible on the polls application as the templates are missing <body> tags for brevity.
2024-06-21Fixed #35528 -- Added EmailMultiAlternatives.body_contains() helper method.Ronny Vedrilla
2024-06-21Cleaned up EmailMultiAlternatives docs.Sarah Boyce
2024-06-20Fixed #35537 -- Changed EmailMessage.attachments and ↵Jake Howard
EmailMultiAlternatives.alternatives to use namedtuples. This makes it more descriptive to pull out the named fields.
2024-06-20Fixed #35441 -- Documented Context and RequestContext keyword arguments.John Higgins
2024-06-18Fixed #12978 -- Added support for RSS feed stylesheets.Baptiste Mispelon
2024-06-18Fixed #35505 -- Added extrabody block to admin/base.html.stefan.ivic
2024-06-18Restructured the EmailMultiAlternatives docs.Sarah Boyce
2024-06-13Fixed #35470 -- Separated i18n and l10n globalization settings docs.lufafajoshua
2024-06-12Fixed #35401 -- Documented the conditional_page() decorator.lufafajoshua
2024-06-12Refs #35401 -- Linked the CsrfViewMiddleware docs to the csrf_protect() ↵lufafajoshua
decorator.
2024-06-09Moved confirmation about dev server running to earlier in tutorial 1.Andreu Vallbona
2024-06-09Replaced usage of "patch" with more precise terms in faq, howto, and intro docs.Andreu Vallbona
2024-06-09Simplified tutorial 1 when describing how to run the dev server.Andreu Vallbona
2024-06-08Fixed #35503 -- Removed distracting PHP reference in tutorial 1.Ismael
2024-05-31Updated release date for Django 5.0.7.Natalia
2024-05-30Made cosmetic edits to code snippets reformatted with blacken-docs.Mariusz Felisiak
2024-05-29Fixed 35467 -- Replaced urlparse with urlsplit where appropriate.Jake Howard
This work should not generate any change of functionality, and `urlsplit` is approximately 6x faster. Most use cases of `urlparse` didn't touch the path, so they can be converted to `urlsplit` without any issue. Most of those which do use `.path`, simply parse the URL, mutate the querystring, then put them back together, which is also fine (so long as urlunsplit is used).
2024-05-29Fixed #35473 -- Fixed CVE number in security archive.samruddhiDharankar
Updated to CVE-2009-3695 from CVE-2009-3965.
2024-05-27Fixed #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>
2024-05-27Fixed #35479 -- Dropped support for PostgreSQL 13 and PostGIS 3.0.Mariusz Felisiak
2024-05-23Fixed #35430 -- Corrected docs on timezone conversion in templates.い。
2024-05-23Fixed #24076 -- Added warnings on usage of dates with DateTimeField and ↵Adam Zapletal
datetimes with DateField.
2024-05-22Increased the default PBKDF2 iterations for Django 5.2.Natalia
2024-05-22Advanced deprecation warnings for Django 5.2.Natalia
2024-05-22Removed versionadded/changed annotations for 5.0.Natalia
This also removes remaining versionadded/changed annotations for older versions.
2024-05-22Added stub release notes for 5.2.Natalia
2024-05-22Bumped version; main is now 5.2 pre-alpha.Natalia
2024-05-22Updated man page for Django 5.1 alpha.Natalia
2024-05-22Made cosmetic edits to 5.1 release notes.Natalia
2024-05-22Removed empty sections from 5.1 release notes.Natalia
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 -- Removed no longer necessary JavaScript file collapse.js.Marijke Luttekes
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-22Fixed #35139 -- Prevented file read after ImageField is saved to storage.John Parton
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 #35405 -- Converted get_cache_name into a cached property in ↵Adam Johnson
FieldCacheMixin. FieldCacheMixin is used by related fields to track their cached values. This work migrates get_cache_name() to be a cached property to optimize performance by reducing unnecessary function calls when working with related fields, given that its value remains constant. Co-authored-by: Simon Charette <charette.s@gmail.com> Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-05-21Refs #29942 -- Fixed docs build on Python < 3.9 avoiding dict union operator.David Smith
The docs build process was failing on djangoproject.com since it uses Python 3.8 and the dict union operator was added in Python 3.9.