summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-08-28Fixed typo in docs/ref/models/expressions.txt.Mariusz Felisiak
2024-08-28Fixed typo in docs/ref/models/expressions.txt.Mariusz Felisiak
2024-08-28Refs #34900 -- Updated requirements for Python 3.13.Mariusz Felisiak
2024-08-27Refs #34609 -- Fixed deprecation warning stack level in format_html().Adam Johnson
Co-authored-by: Simon Charette <charette.s@gmail.com>
2024-08-27Fixed grammatical error in stub release notes for upcoming security release.Natalia
2024-08-27Added stub release notes and release date for 5.1.1, 5.0.9, and 4.2.16.Natalia
2024-08-26Added supports_sequence_reset skip in backends tests.Tim Graham
2024-08-26Added supports_select_union skips in queries and aggregation tests.Tim Graham
2024-08-23Fixed #35703 -- Made technical_404_response() respect SCRIPT_NAME to return ↵Maarten Breddels
default_urlconf().
2024-08-23Fixed #35689 -- Handled custom labels in LabelCommand.missing_args_message.Giovanni Fabbretti
2024-08-23Removed unnecessary trailing slashes in Sphinx intersphinx_mapping URLs.Natalia
2024-08-23Updated Sphinx source_suffix setting to use a mapping.David Smith
Since Sphinx 1.8 this setting should be a mapping of file extensions to file types. Before this change, Sphinx 8+ would show the following when building docs: Converting `source_suffix = '.txt'` to `source_suffix = {'.txt': 'restructuredtext'}`
2024-08-23Added helper and refactored PasswordResetFormTest to unify email sending tests.nessita
2024-08-22Sorted alphabetically forms list in docs/topics/auth/default.txt.nessita
2024-08-21Fixed #35695 -- Ensured FileFields use a storage pointing to a temp ↵Hisham Mahmood
directory in model_fields tests.
2024-08-20Updated GitHub PR template headings to level 4.Marijke Luttekes
GitHub pull request descriptions are rendered as a comment. Comment titles, which include the PR author, render in a h3. Hence, titles within the comment body should be header level 4. This makes pull request descriptions more accessible to screen readers.
2024-08-20Fixed #35686 -- Added table headers to app list tables for screen readers.Sarah Boyce
2024-08-20Fixed #35668 -- Added mapping support to format_html_join.nabil-rady
2024-08-20Fixed #35671 -- Clarified string-based fields behavior when null=False.Clifford Gama
2024-08-19Fixed #35678 -- Removed "usable_password" field from BaseUserCreationForm.Natalia
Refs #34429: Following the implementation allowing the setting of unusable passwords via the admin site, the `BaseUserCreationForm` and `UserCreationForm` were extended to include a new field for choosing whether password-based authentication for the new user should be enabled or disabled at creation time. Given that these forms are designed to be extended when implementing custom user models, this branch ensures that this new field is moved to a new, admin-dedicated, user creation form `AdminUserCreationForm`. Regression in e626716c28b6286f8cf0f8174077f3d2244f3eb3. Thanks Simon Willison for the report, Fabian Braun and Sarah Boyce for the review.
2024-08-19Refs #35678 -- Split tests for BaseUserCreationForm when using a custom User ↵Natalia
model. This work also allows to subclass BaseUserCreationFormTest to reuse the tests and assertions for testing forms that extend BaseUserCreationForm, which is now used for UserCreationFormTest, increasing its coverage.
2024-08-15Refs #35658 -- Fixed ↵Mariusz Felisiak
test_create_file_field_from_another_file_field_in_memory_storage when run in reverse.
2024-08-14Refs #35537 -- Clarified release notes for email attachments and ↵Mariusz Felisiak
alternatives changes.
2024-08-13Refs #35402 -- Added tests for invalid usage of submodules in some settings.Jacob Walls
2024-08-13Fixed #35665 -- Fixed a crash when passing an empty order_by to Window.Simon Charette
This also caused un-ordered sliced prefetches to crash as they rely on Window. Regression in e16d0c176e9b89628cdec5e58c418378c4a2436a that made OrderByList piggy-back ExpressionList without porting the empty handling that the latter provided. Supporting explicit empty ordering on Window functions and slicing is arguably a foot-gun design due to how backends will return undeterministic results but this is a problem that requires a larger discussion. Refs #35064. Thanks Andrew Backer for the report and Mariusz for the review.
2024-08-13Fixed typo of --no-startup in django-admin docs.David Smith
2024-08-12Refs #35648 -- Corrected release notes for SafeString.__add__() changes.Mariusz Felisiak
2024-08-12Fixed #35623 -- Documented that a field cannot be named 'check'.Mohammad Salehi
2024-08-12Fixed #35648 -- Raised NotImplementedError in SafeString.__add__ for ↵Matthias Kestenholz
non-string RHS. This change ensures SafeString addition operations handle non-string RHS properly, allowing them to implement __radd__ for better compatibility.
2024-08-12Refs #35648 -- Added test for addition between SafeString and str in ↵Matthias Kestenholz
utils_tests.
2024-08-12Marked missing part of warning footer for translation in SelectFilter2.js.Marc Picaud
2024-08-12Fixed #35586 -- Added support for set-returning database functions.Devin Cox
Aggregation optimization didn't account for not referenced set-returning annotations on Postgres. Co-authored-by: Simon Charette <charette.s@gmail.com>
2024-08-12Fixed #35575 -- Added support for constraint validation on GeneratedFields.Mark Gensler
2024-08-12Refs #35591 -- Removed hardcoded "stable" version in runserver warning.Mariusz Felisiak
2024-08-09Fixed #35658 -- Initialized InMemoryFileNode instances with a name.lucasesposito
2024-08-09Fixed #35591 -- Added unsuitable for production console warning to runserver.Andrew Miller
2024-08-08Fixed #35622 -- Made unittest ignore Django assertions in traceback frames.Adam Johnson
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-08-08Added test for acheck_password() to ensure make_password is called for ↵Natalia
unusable passwords. This is a follow up for the fix of CVE-2024-39329 (5d8645857936c142a3973694799c52165e2bdcdb) where the timing of verify_password() was standardized when checking unusable passwords.
2024-08-08Doc'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.
2024-08-08Refs #35591 -- Emphasized that runserver is not suitable for production.Andrew Miller
2024-08-08Refs #31405 -- Improved LoginRequiredMiddleware documentation.Adam Johnson
co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
2024-08-08Fixed #35661 -- Fixed test_too_many_digits_to_rander() test crash on PyPy.Mariusz Felisiak
Thanks Michał Górny for the report.
2024-08-07Fixed #35639 -- Improved admin's delete confirmation page title.Matthias Kestenholz
2024-08-07Added stub release notes for 5.1.1.Natalia
2024-08-07Fixed i18n.tests.TranslationTests.test_plural to use correct French translation.Natalia
Forwardport of d5ad743e798fadc83663f016023cd124eadc366c from stable/5.1.x.
2024-08-07Updated translations from Transifex.Natalia
Forwardport of 380c6e6ddd7890fbe65826873579ef6e3af0c07d from stable/5.1.x.
2024-08-07Finalized release notes for Django 5.1.Natalia
2024-08-07Fixed #35553 -- Handled import*as in HashedFilesMixin.Farhan
2024-08-06Added CVE-2024-41989, CVE-2024-41990, CVE-2024-41991, and CVE-2024-42005 to ↵Sarah Boyce
security archive.
2024-08-06Fixed CVE-2024-42005 -- Mitigated QuerySet.values() SQL injection attacks ↵Simon Charette
against JSON fields. Thanks Eyal (eyalgabay) for the report.