summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-05-22[5.1.x] Bumped version for 5.1 alpha 1 release.5.1a1Natalia
2024-05-22[5.1.x] Updated source translation catalogs.Natalia
2024-05-22[5.1.x] Bumped django_next_version in docs config.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 #35393 -- Added excluded pk as a hidden field to the inline admin.Willem Van Onsem
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-22Refs #35189 -- Improved admin fieldset's accessibility by setting ↵Marijke Luttekes
aria-labelledby. Before this change, HTML <fieldset> elements in the admin site did not have an associated label to describe them. This commit defines a unique HTML id for the heading labeling a fieldset, and sets its aria-labelledby property to link the heading with the fieldset.
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.
2024-05-21Refs #35326 -- Made cosmetic edits to 5.1 release notes.Mariusz Felisiak
2024-05-21Removed hardcoded docs version in csrf template.Ryan Hiebert
2024-05-21Fixed #35326 -- Added allow_overwrite parameter to FileSystemStorage.Ben Cail
2024-05-20Refs #35189 -- Moved CSS details' cursor declaration to base.css.Marijke Luttekes
2024-05-17Fixed #35428 -- Increased parallelism of the ScryptPasswordHasher.SaJH
2024-05-16Replaced fictional class 'extrapretty' in admin fieldsets docs.Adam Johnson
2024-05-16Removed PY36 and PY37 version constants.Sarah Boyce
As the oldest supported version is Django 4.2, we only need constants for PY38+. Thank you to Mariusz Felisiak for the review.
2024-05-16Moved FileSystemStorage note in docs to the correct place.Sarah Boyce
2024-05-16Fixed typos in test docstrings.Mariusz Felisiak
2024-05-15Fixed #35384 -- Raised FieldError when saving a file without a name to ↵Jonny Park
FileField.
2024-05-14Fixed #29942 -- Restored source file linking in docs by using the Sphinx ↵Joachim Jablon
linkcode ext. Co-authored-by: David Smith <smithdc@gmail.com> Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
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-13Fixed SeleniumTestCase.set_emulated_media() when using selenium_hub.Nick Pope
The .execute_cdp_cmd() method doesn't exist on selenium.webdriver.Remote.
2024-05-13Added support for using Microsoft Edge with Selenium.Nick Pope
2024-05-13Replaced djangosites.org with builtwithdjango.com.ZeyadMoustafaKamal
2024-05-13Fixed #35408 -- Optimized post-migrate permission creation.Adam Johnson
co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2024-05-10Updated docs for the Django release process.nessita
2024-05-10Added tests for Storage's generate_filename method.nessita
2024-05-10Refs #35404 -- Fixed the line height of admin fieldset labels.minusf
2024-05-10Fixed #35429 -- Added argparse choices to --database options.SaJH
2024-05-10Organized images in the screenshots workflow.Nick Pope
Added a top-level directory in the zip archive that is the commit hash which makes it easier when downloading multiple artifacts for comparison. Updated the filenames of screenshots for easier comparison between different cases. Added that an error is raised if no screenshots uploaded in workflow.
2024-05-10Optimized images in the screenshots workflow.Nick Pope
Running `oxipng` over a set of screenshots from a previous run that were 1.9M in size resulted in a total size of 1.3M, a 31.5% reduction. This can be useful to reduce the artifact size stored in GitHub and locally if downloading screenshots from multiple runs. See https://til.simonwillison.net/github-actions/oxipng
2024-05-10Removed obsolete logic from screenshots workflow.Nick Pope
The id was used when we attempted to update comments in an early version of the feature. Also removed the job summary as it doesn't have the value that it did in the original version of the feature.
2024-05-10Fixed #35436 -- Fixed displaying Unicode chars in forms.HStoreField.SaJH
2024-05-08Corrected Slovak local name.Adam Zahradník
2024-05-08Removed Redis parser_class reference from docs.r3a96
2024-05-08Matched blacken-docs config between ci and pre-commit.Baptiste Mispelon
2024-05-07Added stub release notes for 5.0.7.Natalia
2024-05-07Added release notes for 5.0.6 and 4.2.13.Sarah Boyce
2024-05-07Fixed #35407 -- Cached model's Options.swapped.Adam Johnson
2024-05-07Fixed #35425 -- Avoided INSERT with force_update and explicit pk.Jacob Walls
Affected models where the primary key field is defined with a default or db_default, such as UUIDField.
2024-05-06Added release date for 5.0.5 and 4.2.12.Sarah Boyce
2024-05-06Added link to the csrf template tag in the csrf page.alexgmin
2024-05-06Migrated to ESLint 9+.Mariusz Felisiak