summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
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-03Refs #31224 -- Fixed typo in django/test/client.py.Natalia
2024-05-03Refs #35422 -- Fixed typo in docs/releases/5.0.5.txt.Natalia
2024-05-03Fixed #35422 -- Fixed migrations crash when altering GeneratedField ↵Mariusz Felisiak
referencing rename field. Thanks Sarah Boyce for the report and Simon Charette for the implementation idea.
2024-05-02Fixed #35359 -- Fixed migration operations ordering when adding fields ↵DevilsAutumn
referenced by GeneratedField.expression. Thank you to Simon Charette for the review.
2024-05-02Refs #34007, Refs #35359 -- Added Q.referenced_based_fields property.David Sanders
Thank you to Mariusz Felisiak and Natalia Bidart for the reviews.
2024-05-02Added a high contrast mode to screenshot cases.Sarah Boyce
Thank you to Sarah Abderemane and Nick Pope for the reviews.
2024-05-02Clarified when ImageField attributes are set.John Parton
2024-05-02Fixed rendering XOR section in docs.Mariusz Felisiak
2024-05-02Refs #29280 -- Moved release note about transaction_mode to "Database ↵Mariusz Felisiak
backends" section.
2024-04-30Refs #32819 -- Avoided adding 'aria-describedby' to hidden inputs.David Smith
Hidden elements are not visible for both accessibility tools and browsers presentation layer. This change therefore only reduces the size of the generated HTML.
2024-04-29Fixed #35412 -- Dropped support for SQLite < 3.31.Mariusz Felisiak
2024-04-26Refs #35339 -- Fixed source expressions in GeoAggregate on Oracle.Mariusz Felisiak
Regression in 42b567ab4c5bfb1bbd3e629b1079271c5ae44ea0.
2024-04-26Fixed #20744 -- Removed hint that arbitrary kwargs are allowed when creating ↵Adam Zapletal
forms.Fields.
2024-04-26Made confirmation prompt in squashmigrations consistent with other prompts.Cole D
Prior to this change, squashmigrations would use a [yN] prompt to ask for user confirmation. A slash was added between the yes/no options to make it consistent with other commands that print similar prompts.
2024-04-25Fixed #35339 -- Fixed PostgreSQL aggregate's filter and order_by params order.Chris Muthig
Updated OrderableAggMixin.as_sql() to separate the order_by parameters from the filter parameters. Previously, the parameters and SQL were calculated by the Aggregate parent class, resulting in a mixture of order_by and filter parameters. Thanks Simon Charette for the review.
2024-04-25Refs #35339 -- Updated Aggregate class to return consistent source expressions.Chris Muthig
Refactored the filter and order_by expressions in the Aggregate class to return a list of Expression (or None) values, ensuring that the list item is always available and represents the filter expression. For the PostgreSQL OrderableAggMixin, the returned list will always include the filter and the order_by value as the last two elements. Lastly, emtpy Q objects passed directly into aggregate objects using Aggregate.filter in admin facets are filtered out when resolving the expression to avoid errors in get_refs(). Thanks Simon Charette for the review.
2024-04-24Pinned GitHub Actions for reminders to commit hashes for latest release.nessita
2024-04-24Improved phrasing and removed bold text in the GitHub pull request template.nessita
2024-04-24Fixed #35395 -- slice filter crashes on an empty dict with Python 3.12.Tim Richardson
Keep consistent behaviour of slice() filter between python 3.12 and prior versions in the case of a dict passed to the filter (catch the new to python 3.12 KeyError exception).
2024-04-24Fixed #35382 -- Removed unused CSS for admin inline fieldsets.0saurabh0