summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-12-06Made index view examples consistent in tutorial by removing trailing comma.Ülgen Sarıkavak
2024-12-06Fixed #35493 -- Allowed template self-inclusion with relative paths.Gabriel Nick Pivovarov
Co-authored-by: Brock <bsmick97@gmail.com>
2024-12-05Fixed #35944 -- Handled serialization of Unicode values in ArrayField and ↵Oleg Sverdlov
HStoreField.
2024-12-05Refs #32819 -- Added id to ErrorList class and template.David Smith
2024-12-05Refs #373 -- Fixed CompositePrimaryKey tests if yaml isn't installed.Sarah Boyce
2024-12-05Refs #21286 -- Fixed serializers tests if Pillow isn't installed.Mariusz Felisiak
2024-12-04Cleaned up CVE-2024-53907 and CVE-2024-53908 security archive descriptions.Sarah Boyce
2024-12-04Added CVE-2024-53907 and CVE-2024-53908 to security archive.Sarah Boyce
2024-12-04Added stub release notes for 5.1.5.Sarah Boyce
2024-12-04Fixed CVE-2024-53908 -- Prevented SQL injections in direct HasKeyLookup ↵Simon Charette
usage on Oracle. Thanks Seokchan Yoon for the report, and Mariusz Felisiak and Sarah Boyce for the reviews.
2024-12-04Fixed CVE-2024-53907 -- Mitigated potential DoS in strip_tags().Sarah Boyce
Thanks to jiangniao for the report, and Shai Berger and Natalia Bidart for the reviews.
2024-12-04Fixed #35952 -- Used class property for available apps check on ↵Jake Howard
TransactionTestCase.
2024-12-03Refs #21286 -- Enabled ImageField test cases in serializer data tests.Adam Zapletal
This aligns ImageField to be tested in the same way as FileField. The commented-out test also exists for FileField and relates to #10244.
2024-12-03Refs #35842 -- Fixed handling of quotes in JSONField key lookups on Oracle.Sage Abdullah
2024-12-03Refs #35581 -- Added tests for email parameters, attachments, MIME ↵Mike Edmunds
structure, bcc header, encoding and sending.
2024-12-03Refs #35581 -- Used modern email parser and helpers in mail tests.Mike Edmunds
- Used modern email API (policy.default) for tests that reparse generated messages, and switched to modern accessors where helpful. - Split get_raw_attachments() helper out of get_decoded_attachments(), and used modern iter_attachments() to avoid finding nested attachments in attached message/* emails. - Stopped using legacy parseaddr.
2024-12-03Refs #35581 -- Improved reporting for failing tests in mail tests.Mike Edmunds
- Converted HeadersCheckMixin to MailTestsMixin for all shared helpers: - Hoisted assertStartsWith() from BaseEmailBackendTests. - Added matching assertEndsWith(). - Hoisted get_decoded_attachments() from MailTests. - Improved failure reporting in assertMessageHasHeaders(). - Used unittest subTest() to improve handling of compound test cases. - Replaced `assertTrue(test on string)` with custom assertions, so that failure reporting is more informative than `True != False`.
2024-12-02Removed question marks from headings in docs/topics/db/fixtures.txt.Anders Hovmöller
2024-12-02Fixed #35950 -- Restored refreshing of relations when fields deferred.Adam Johnson
Thank you to Simon Charette and Sarah Boyce for the review. Regression in 73df8b54a2fab53bec4c7573cda5ad8c869c2fd8.
2024-12-02Fixed #35964 -- Cleaned up can_order and can_delete formset examples.antoliny0919
2024-12-02Updated docs example to clear cached_property without raising AttributeError.SaJH
Signed-off-by: SaJH <wogur981208@gmail.com>
2024-12-02Fixed #35915 -- Clarified the empty list case in QueryDict.__getitem__() docs.jburns6789
2024-12-02Refs #373 -- Simplified DatabaseIntrospection.get_constraints() tests for ↵Mariusz Felisiak
composite primary keys.
2024-12-02Refs #373 -- Fixed ↵Mariusz Felisiak
CompositePKChecksTests.test_composite_pk_cannot_include_generated_field() test crash on databases with no GeneratedField support.
2024-12-02Improved assert_serializer test assertions in test.serializers.Sarah Boyce
2024-12-02Used skipIf/UnlessDBFeature in test.serializers.Sarah Boyce
2024-11-29Removed reference to "removing older versions of Django" in tutorial.Clifford Gama
Obsoleted in c4fa0143f7117a07a3f0258a063f5265e795ffbb. The general install instructions are still linked above.
2024-11-29Fixed #35925 -- Added CSS gap for FilteredSelectMultiple filter icon.Ayush khatri
2024-11-29Fixed #35308 -- Handled OSError when launching code formatters.Jacob Walls
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-11-29Fixed #373 -- Added CompositePrimaryKey.Bendeguz Csirmaz
Thanks Lily Foote and Simon Charette for reviews and mentoring this Google Summer of Code 2024 project. Co-authored-by: Simon Charette <charette.s@gmail.com> Co-authored-by: Lily Foote <code@lilyf.org>
2024-11-29Fixed #35791 -- Updated icon button dimensions to 24x24 pixels.Tainara Palmeira
This is to meet the WCAG 2.5.8 minimum size requirement. Co-authored-by: Eva Nanyonga <evewish@gmail.com>
2024-11-29Refs #10941 -- Added tests in querystring template tag.Natalia
These extra tests assert over the handling of empty params (None, empty dict, empty QueryDict), and also for dicts having non-string keys.
2024-11-29Refs #10941 -- Added helper and refactored tests for querystring template tag.Natalia
Thank you Sarah Boyce for the review and suggestions.
2024-11-28Fixed #35530 -- Deprecated request.user fallback in auth.login and auth.alogin.Jaap Roes
2024-11-28Refs #35530 -- Added basic test cases for auth.login.Jaap Roes
2024-11-28Fixed #35038 -- Created AlterConstraint operation.Salvo Polizzi
2024-11-28Refs #35038 -- Added test for drop and recreation of a constraint.Salvo Polizzi
2024-11-28Fixed #35897 -- Removed unnecessary escaping in template's get_exception_info().Klaas van Schelven
2024-11-28Refs #21286 -- Fixed serializer test with primary key TextField.Adam Zapletal
2024-11-27Added parallelism support via --jobs to docs build Makefile rule.Paolo Melchiorre
2024-11-27Made reverse() docs more self-contained.Clifford Gama
2024-11-27Upgraded to Python 3.12, Ubuntu 24.04, and enabled fail_on_warning for docs ↵David Smith
builds.
2024-11-27Removed trailing whitespace in docs.Adam Zapletal
2024-11-27Added stub release notes and release date for 5.1.4, 5.0.10, and 4.2.17.Sarah Boyce
2024-11-27Fixed #35921 -- Fixed failure when running tests in parallel on postgres.Jacob Walls
Follow-up to a060a22ee2dde7aa29a5a29120087c4864887325.
2024-11-27Fixed #35939 -- Linked documentation of Permission.content_type to the ↵Brock
ContentType model.
2024-11-27Refs #33735 -- Captured stderr during ASGITest.test_file_response.Jacob Walls
2024-11-26Fixed #35942 -- Fixed createsuperuser crash on Python 3.13+ when username is ↵Tommy Allen
unavailable. Thanks Mariusz Felisiak and Jacob Tyler Walls for reviews.
2024-11-26Added missing backticks to class-based views docs.Adam Zapletal
2024-11-20Fixed #34619 -- Associated FilteredSelectMultiple elements to their label ↵GappleBee
and help text.