Mariusz Felisiak
393b8324b3
Added stub release notes for 4.2.4.
2023-07-03 10:33:50 +02:00
Mariusz Felisiak
1d6fbf16f2
Added CVE-2023-36053 to security archive.
2023-07-03 10:19:13 +02:00
Mariusz Felisiak
ad0410ec4f
Fixed CVE-2023-36053 -- Prevented potential ReDoS in EmailValidator and URLValidator.
...
Thanks Seokchan Yoon for reports.
2023-07-03 08:16:55 +02:00
Mariusz Felisiak
953f29f700
Fixed #34572 -- Added support for GDAL 3.7.
...
Co-authored-by: Michael Howitz <mh@gocept.com>
2023-06-30 06:03:08 +02:00
Akash Kumar Sen
a40b0103bc
Fixed #30382 -- Allowed specifying parent classes in force_insert of Model.save().
2023-06-29 21:52:52 +02:00
Mariusz Felisiak
601ffb0da3
Fixed #34685 -- Dropped support for GEOS 3.6 and 3.7.
2023-06-29 21:45:36 +02:00
Mariusz Felisiak
6a523500af
Fixed #34684 -- Dropped support for GDAL 2.2 and 2.3.
2023-06-29 09:11:30 +02:00
Claude Paroz
7af455a402
Refs #34572 -- Added missing GDAL_PIXEL_TYPES from GDAL 3.5+.
...
Check out https://github.com/OSGeo/gdal/blob/6e9103bd5/gcore/gdal.h#L62
2023-06-29 06:38:56 +02:00
Cerebro Cerberus
6fbe5287ac
Fixed typo in docs/intro/tutorial08.txt.
2023-06-28 07:08:51 +02:00
nessita
6799288342
Added dedicated section for output_field in query expressions docs.
2023-06-27 15:05:08 -03:00
Mariusz Felisiak
c4a09499aa
Fixed typo in docs/ref/models/querysets.txt.
2023-06-27 12:54:11 +02:00
Jon Janzen
5e98959d92
Fixed #34391 -- Added async-compatible interface to auth functions and related methods test clients.
2023-06-27 11:17:17 +02:00
Mariusz Felisiak
2360ba2274
Added stub release notes and release date for 4.2.3, 4.1.10, and 3.2.20.
2023-06-26 14:35:13 +02:00
Mariusz Felisiak
370a021780
Refs #34233 -- Bumped minimum supported version of Selenium to 4.8.0.
...
This bumps minimum supported versions of selenium to the first release
to support Python 3.10.
2023-06-26 14:22:54 +02:00
th3nn3ss
3152f9de47
Refs #31949 -- Made http decorators to work with async functions.
2023-06-26 09:29:04 +02:00
Mariusz Felisiak
650ce96782
Refs #34391 -- Updated asgiref dependency for 5.0 release series.
2023-06-23 21:52:04 +02:00
Jon Janzen
38e391e95f
Refs #31949 -- Made @sensitive_variables/sensitive_post_parameters decorators to work with async functions.
...
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2023-06-23 13:29:40 +02:00
Nick Pope
f8092ee9ad
Improved style of n-tuple wording in docs and comments.
2023-06-23 09:29:35 +02:00
Hrushikesh
107865780a
Fixed #34345 -- Added system check for ManyToManyFields with intermediate tables in ModelAdmin.filter_horizontal/vertical.
2023-06-21 07:48:09 +02:00
Mariusz Felisiak
ddb6506618
Corrected admin.E013 check message in docs.
2023-06-20 12:59:32 +02:00
Ashwin Dharne
5762b839ff
Fixed typo in docs/topics/db/fixtures.txt.
2023-06-16 19:34:06 +02:00
Olivier Le Thanh Duong
1b754d638d
Fixed #34629 -- Added filtering support to GIS aggregates.
2023-06-16 12:20:13 +02:00
Jacob Rief
1fe0b167af
Fixed #34473 -- Fixed step validation for form fields with non-zero minimum value.
2023-06-16 08:38:28 +02:00
nessita
26aedbbc08
Updated PyPI setup access in prerequisites checklist of release how-to.
2023-06-13 21:02:56 -03:00
Mariusz Felisiak
06881341d4
Refs #30220 -- Bumped required version of Selenium to 3.8.0.
...
Follow up to 8d010f3986
.
2023-06-13 10:12:52 +02:00
Neeraj Kumar
1d9d32389c
Fixed #34638 -- Fixed admin change list selected row highlight on editable boolean fields.
...
Regression in 0aa2f16e63
.
Thanks Andrei Shabanski for the report.
2023-06-11 15:01:06 +02:00
Mariusz Felisiak
caf80cb41f
Fixed #34645 -- Restored alignment for admin date/time timezone warnings.
...
Regression in 96a598356a
.
2023-06-09 21:37:23 +02:00
sarahboyce
531f557f92
Fixed #23049 -- Added %a and %A support to Date.strftime.
...
This enables the admin to display the day as locale's abbreviated/full
name if %a/%A is used in the date format.
2023-06-09 12:18:17 +02:00
Anders Kaseorg
b81e974e9e
Fixed #34604 -- Corrected fallback SQL for n-ary logical XOR.
...
An n-ary logical XOR Q(…) ^ Q(…) ^ … ^ Q(…) should evaluate to true
when an odd number of its operands evaluate to true, not when exactly
one operand evaluates to true.
2023-06-08 20:41:18 +02:00
Akash Kumar Sen
5f2308710b
Fixed #30355 -- Doc'd interaction between custom managers and prefetch_related().
2023-06-07 11:48:01 +02:00
devilsautumn
094b0bea2c
Fixed #34609 -- Deprecated calling format_html() without arguments.
2023-06-06 14:14:57 +02:00
nessita
e26d1a91d7
Added stub release notes for 4.2.3.
2023-06-05 14:55:23 -03:00
Natalia
0faad01938
Added release date for 4.2.2.
2023-06-05 08:21:56 -03:00
Howard Cox
cd413bd78a
Fixed #34621 -- Made admin site header render in <div> tag.
...
This was problematic for screen reader users because they use headings
to navigate. Having two <h1> is confusing, and the one in the header
wasn’t particularly helpful since it’s the same on all pages.
2023-06-05 11:55:06 +02:00
nessita
89c27d8672
Fixed #34601 -- Added field name to check message for ModelAdmin.readonly_fields.
...
Co-authored-by: Rick van Hattem <wolph@wol.ph>
2023-06-05 05:56:53 +02:00
Mariusz Felisiak
f9936deed1
Fixed #34620 -- Fixed serialization crash on m2m fields without natural keys when base querysets use select_related().
...
Regression in 19e0587ee5
.
Thanks Martin Svoboda for the report.
2023-06-04 20:49:07 +02:00
Mariusz Felisiak
1136aa5005
Refs #23528 -- Made cosmetic edits to swappable_dependency() docs.
2023-06-03 12:01:15 +02:00
DevilsAutumn
7d96ce68ae
Fixed #23528 -- Doc'd django.db.migrations.swappable_dependency().
2023-06-02 20:57:41 +02:00
Simon Charette
2cf76f2d5d
Fixed #34612 -- Fixed QuerySet.only() crash on reverse relationships.
...
Regression in b3db6c8dcb
.
Thanks Ian Cubitt for the report.
This also corrected test_inheritance_deferred2() test which was
previously properly defined and marked as an expected failure but was
then wrongly adjusted to mask the lack of support for per-alias
deferral that was fixed by #21204 .
2023-06-01 19:50:47 +01:00
AP Jama
4037223d0f
Fixed #34595 -- Doc'd that format_string arg of format_html() is not escaped.
2023-06-01 12:10:08 +01:00
Christopher Cave-Ayland
24d56e21c3
Fixed #34616 -- Corrected label examples in 5.0 release notes.
2023-06-01 11:19:11 +01:00
Akash Kumar Sen
b0a6cc7f57
Fixed #34600 -- Removed references to bleach in docs.
2023-05-31 09:52:38 +01:00
Natalia
881cc139e2
Refs #34574 , Refs #34577 -- Mentioned escapeseq filter in escape/autoescape docs.
2023-05-26 06:26:38 +02:00
Natalia
1a59a324ce
Fixed #34574 -- Noted unexpected outcomes in autoescape/escape docs.
2023-05-26 06:21:46 +02:00
David Sanders
0c1518ee42
Fixed #34590 -- Reverted "Refs #33308 -- Improved adapting DecimalField values to decimal."
...
This reverts 7990d254b0
.
Thanks Marc Odermatt for the report.
2023-05-24 10:59:55 +02:00
Stefan Brand
eb9df03a43
Corrected documentation of Log database function.
2023-05-24 05:29:50 +02:00
Ben Lomax
23abec9192
Refs #31949 -- Made @no_append_slash decorator to work with async functions.
2023-05-23 10:04:41 +02:00
Simon Charette
e5c844d6f2
Fixed #34551 -- Fixed QuerySet.aggregate() crash when referencing subqueries.
...
Regression in 59bea9efd2
.
Refs #28477 .
Thanks Denis Roldán and Mariusz for the test.
2023-05-23 06:25:58 +02:00
Simon Charette
2ee01747c3
Refs #34551 -- Fixed QuerySet.aggregate() crash on precending aggregation reference.
...
Regression in 1297c0d0d7
.
Refs #31679 .
2023-05-23 06:25:27 +02:00
Mohit Singh Sinsniwal
89f10a80d7
Fixed #34579 -- Added Django Forum to contributing guides.
...
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2023-05-22 20:21:18 +02:00
Sarah Boyce
c3862735cd
Fixed references to django.core.cache in docs.
2023-05-22 14:02:01 +02:00
gtleee
0a324f1b66
Fixed #34588 -- Removed usage of nonexistent stylesheet in the 'Congrats' page.
...
Regression in d46cc15c51
.
2023-05-22 11:05:20 +02:00
Arthur Moreira
061a8a1bd8
Fixed #34577 -- Added escapeseq template filter.
2023-05-22 09:58:03 +02:00
Simon Charette
98f6ada0e2
Fixed #34580 -- Avoided unnecessary computation of selected expressions in SQLCompiler.
...
Performance regression in 278881e376
.
Co-authored-by: David Smith <smithdc@gmail.com>
2023-05-22 05:47:29 +02:00
Ben Lomax
00f5d2d110
Refs #31949 -- Made @xframe_options_(deny/sameorigin/exempt) decorators to work with async functions.
2023-05-20 15:52:00 +02:00
HappyDingning
674c23999c
Fixed #34565 -- Added support for async checking of user passwords.
2023-05-18 09:39:04 +02:00
Mariusz Felisiak
c52f4295f2
Fixed #34568 -- Made makemigrations --update respect --name option.
...
Thanks David Sanders for the report.
2023-05-17 13:14:43 +02:00
Mariusz Felisiak
93830abf76
Updated broken links in docs.
2023-05-17 12:13:10 +02:00
Simon Charette
99e5dff737
Fixed #34570 -- Silenced noop deferral of many-to-many and GFK.
...
While deferring many-to-many and GFK has no effect, the previous
implementation of QuerySet.defer() ignore them instead of crashing.
Regression in b3db6c8dcb
.
Thanks Paco Martínez for the report.
2023-05-17 08:06:11 +02:00
Julie Rymer
0ec60661e6
Fixed #34539 -- Restored get_prep_value() call when adapting JSONFields.
...
Regression in 5c23d9f0c3
.
2023-05-16 08:26:41 +02:00
Ian Foote
7414704e88
Fixed #470 -- Added support for database defaults on fields.
...
Special thanks to Hannes Ljungberg for finding multiple implementation
gaps.
Thanks also to Simon Charette, Adam Johnson, and Mariusz Felisiak for
reviews.
2023-05-12 19:11:40 +02:00
Alexerson
599f3e2cda
Fixed #34556 -- Doc'd that StreamingHttpResponse accepts memoryviews and strings iterators.
2023-05-12 10:34:47 -03:00
Alberto Sottile
e901407e23
Clarified database connections lifetime outside HTTP requests.
2023-05-12 08:09:38 -03:00
Mariusz Felisiak
72a86ceb33
Fixed #34558 -- Fixed QuerySet.bulk_create() crash with Now() on Oracle.
2023-05-11 18:22:55 +02:00
nessita
2b11740e1d
Made explicit the location of locally-built HTML docs.
2023-05-11 07:55:45 -03:00
Mariusz Felisiak
1586a09b79
Fixed #34544 -- Avoided DBMS_LOB.SUBSTR() wrapping with IS NULL condition on Oracle.
...
Regression in 09ffc5c121
.
Thanks Michael Smith for the report.
This also reverts commit 1e4da43955
.
2023-05-08 19:34:30 +02:00
Akash Kumar Sen
aaf8c76c56
Fixed #34545 -- Corrected the number of months in installation FAQ.
2023-05-08 08:34:23 +02:00
Pan Dango
12ec80726f
Corrected code-block directive in docs/ref/templates/builtins.txt.
2023-05-07 14:51:27 +02:00
Jannis Vajen
024954aad4
Corrected code-block directives in docs.
2023-05-04 14:10:11 +02:00
Sarah Boyce
60ac77f32e
Removed unnecessary workarounds for Sphinx < 4.3.0.
...
Unnecessary since ebf25555bb
.
2023-05-04 13:55:06 +02:00
Mariusz Felisiak
49830025c9
Added CVE-2023-31047 to security archive.
2023-05-03 15:20:31 +02:00
Mariusz Felisiak
b0d3a5de95
Added stub release notes for 4.2.2.
2023-05-03 15:13:07 +02:00
Mariusz Felisiak
fb4c55d9ec
Fixed CVE-2023-31047, Fixed #31710 -- Prevented potential bypass of validation when uploading multiple files using one form field.
...
Thanks Moataz Al-Sharida and nawaik for reports.
Co-authored-by: Shai Berger <shai@platonix.com>
Co-authored-by: nessita <124304+nessita@users.noreply.github.com>
2023-05-03 13:42:00 +02:00
Mariusz Felisiak
8e2460d599
Fixed #34529 , Refs #34525 -- Reduced index operations with Meta.indexes/index_together when optimizing migrations.
...
This makes squashing migrations an available path for changing
Meta.index_together, which is deprecated, to Meta.indexes.
Follow up to f810325721
.
2023-05-03 13:06:19 +02:00
Orhan Hirsch
ea53e7c09f
Fixed #34517 -- Avoided connection post_init signal to ImageField without width/height fields.
2023-05-03 06:35:19 +02:00
Paul Brown
3b62d8c83e
Refs #31369 -- Improved hint message in NullBooleanField's deprecation warning.
2023-05-02 15:42:11 -03:00
Ran Benita
506f93f0c3
Fixed #34530 -- Improved docs when customizing storage for FileField.
2023-05-02 15:32:24 -03:00
Mariusz Felisiak
0e444e84f8
Fixed #34515 -- Made LocaleMiddleware prefer language from paths when i18n patterns are used.
...
Regression in 94e7f471c4
.
This reverts commit 94e7f471c4
(refs #34069 ) and
partly reverts commit 3b4728310a
.
Thanks Anthony Baillard for the report.
Co-Authored-By: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
2023-05-02 06:04:18 +02:00
Mariusz Felisiak
5a6d4d3bfd
Refs #34118 , Refs #34504 -- Added backward incompatibility note about EmailBackend.ssl_context.
...
Follow up to 2848e5d0ce
.
2023-04-28 13:04:08 +02:00
Coen van der Kamp
7bbbadc693
Fixed #34380 -- Allowed specifying a default URL scheme in forms.URLField.
...
This also deprecates "http" as the default scheme.
2023-04-28 06:58:10 +02:00
Marc Gibbons
070cbac0db
Restored multiprocessing concurrency on coverage.py settings
...
* Revert "Reverted "Fixed #33213 -- Doc'd testing code coverage in parallel and used it.""
This reverts commit 78da5ca0c1
.
* Restored coverage multiprocess concurrency with threads
Investigating https://github.com/nedbat/coveragepy/issues/1585 revealed
that thread tracing gets disabled when passing
`concurrency = multiprocessing`. Adding `thread` restores it, and
ensures that the `auser()` is reported as covered since the test suite
uses `AsyncToSync` to execute this middleware (which spawns threads).
2023-04-27 17:02:55 -03:00
Andrei Shabanski
5c456a8793
Refs #33662 -- Corrected Sitemap.get_languages_for_item() signature in docs.
2023-04-27 19:53:26 +02:00
Tom Forbes
23d24f82a7
Doc'd that Count("*") is equivalent to COUNT(*) SQL.
2023-04-27 11:52:54 +02:00
Mariusz Felisiak
18a7f2c711
Added stub release notes and release date for 4.2.1, 4.1.9, and 3.2.19.
2023-04-26 08:47:44 +02:00
Mariusz Felisiak
9440f6ba41
Fixed #34512 -- Restored breadcrumbs on admin app index view.
...
Thanks Adam (ataylor32) for the report.
Regression in 872b61193b
.
2023-04-26 08:36:56 +02:00
Claude Paroz
453cfa2815
Replaced docutils link by PyPI reference.
2023-04-25 12:41:06 +02:00
Ben Lomax
4dfc6ff8a8
Refs #31949 -- Made @never_cache and @cache_control() decorators to work with async functions.
...
Thanks Carlton Gibson and Mariusz Felisiak for reviews.
2023-04-25 10:08:03 +02:00
Andreas Dickow
c24cd6575f
Updated admin's XRegExp to 5.1.1.
2023-04-25 09:30:52 +02:00
Bakdolot
c813fb327c
Fixed #34481 -- Added system check for reverse related fields in ModelAdmin.list_display.
2023-04-24 08:14:35 -03:00
Claude Paroz
3fe0c609cf
Updated Django Transifex links.
...
Subdomain was changed on April 3rd and redirects will stop on July 2023.
2023-04-22 16:18:21 +02:00
Mariusz Felisiak
92537e83c1
Fixed #34506 -- Fixed margin of ClearableFileInput in admin CSS.
...
Regression in 96a598356a
.
2023-04-21 19:49:59 +02:00
Mariusz Felisiak
c487634c10
Added meaningful titles to ..admonition:: directives.
2023-04-21 12:03:59 +02:00
Mariusz Felisiak
498195bda4
Improved examples in docs about raw SQL queries.
...
Regression in 14459f80ee
.
2023-04-20 12:24:33 +02:00
David Sanders
0494efddc4
Fixed #34440 -- Doc'd that & queryset operator works similar to chaining.
2023-04-20 08:37:29 +02:00
Sage Abdullah
01ae9d4ca9
Fixed #34435 -- Doc'd that JSONField.default must be a callable.
2023-04-19 20:51:42 +02:00
Sarah Boyce
1611a3af1c
Doc'd RemovedInDjangoXXWarning comments in deprecating a feature guide.
2023-04-19 08:47:27 -03:00
David Wobrock
8b1ff0da4b
Refs #16055 -- Deprecated get_joining_columns()/get_reverse_joining_columns() methods.
2023-04-18 12:46:27 +02:00
sarahboyce
594fcc2b74
Fixed #22569 -- Made ModelAdmin.lookup_allowed() respect get_list_filter().
...
Thank you Simon Meers for the initial patch.
2023-04-17 14:09:38 +02:00
Tim Graham
57f2b935b3
Added Snowflake to list of third-party DB backends.
2023-04-17 06:55:39 +02:00
Tim Graham
2c4dc64760
Used extlinks for PyPI links.
...
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2023-04-17 06:55:32 +02:00