Qi Zhao
8c403b17f9
[3.1.x] Fixed #32080 -- Fixed displaying Unicode chars in forms.JSONField and read-only JSONField values in admin.
...
Backport of de81676b51
from master
2020-10-09 08:44:32 +02:00
Paul Grau
b0e5e7b671
[3.1.x] Fixed #29356 -- Clarified docs for QueryDict.getlist() default.
...
Backport of 855fc06236
from master
2020-10-08 14:20:38 +02:00
Carlton Gibson
d1f791d394
[3.1.x] Fixed #32083 -- Added link back to migrating section in multi-db docs example.
...
Backport of 1b32b2f614
from master
2020-10-08 12:46:05 +02:00
Jacob Walls
82bdc51e7a
[3.1.x] Fixed #23681 , Fixed #27445 -- Doc'd setting choices for NullBooleanField widgets.
...
Thanks to David Smith for investigation and review.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
Backport of d976c254fc
from master
2020-10-08 12:39:54 +02:00
Carlton Gibson
1f8dbc8fa9
[3.1.x] Fixed #32065 -- Restored leading dot to CSRF_COOKIE_DOMAIN examples.
...
Partially reverts afd375fc34
.
Thanks to Tim Graham for review.
Backport of 3d4ffd1ff0
from master
2020-10-07 10:04:24 +02:00
Tom Carrick
3add635ff7
[3.1.x] Fixed #32072 -- Fixed admin search bar height.
...
Thanks şuayip üzülmez for the report.
Regression in 8ee4bb6ffc
.
Backport of 342a41740d
from master
2020-10-06 11:57:34 +02:00
Peter Marheine
1c7799dbf7
[3.1.x] Fixed #32041 -- Doc'd how to modify served files' content types on Windows.
...
Backport of f87b0ecd37
from master
2020-10-01 14:02:31 +02:00
MAHANTH-wq
6b17d13f26
[3.1.x] Fixed #32057 -- Doc'd HttpResponse.get()/items().
...
Backport of 0da212ffbf
from master
2020-10-01 11:00:32 +02:00
Mariusz Felisiak
079e766217
[3.1.x] Added stub release notes for 3.1.3.
...
Backport of 85fa24e3eb
from master
2020-10-01 07:57:13 +02:00
Mariusz Felisiak
f18b51a7d8
[3.1.x] Added release date for 3.1.2.
...
Backport of 5a1f0f1318
from master
2020-10-01 07:23:12 +02:00
Tom Carrick
57b359343b
[3.1.x] Fixed #31986 -- Fixed admin filter sidebar scrolling.
...
Regression in 2bc38bc7ca
.
Thanks haki for the report.
Backport of 8ee4bb6ffc
from master
2020-09-30 21:49:11 +02:00
David Smith
12ba61ed17
[3.1.x] Bumped minimum isort version to 5.1.0.
...
Fixed inner imports per isort 5.
isort 5.0.0 to 5.1.0 was unstable.
Backport of e74b3d724e
from master
2020-09-30 09:51:31 +02:00
Thomas Grainger
356efa90b5
[3.1.x] Updated ASGI uvicorn deployment docs.
...
Backport of c1442e1192
from master
2020-09-29 10:56:11 +02:00
David Smith
793bd24db6
[3.1.x] Fixed #28009 -- Doc'd empty_value for CharField subclasses.
...
Backport of 91669cc566
from master
2020-09-25 18:31:20 +02:00
David Smith
ab8eccf54f
[3.1.x] Fixed empty values of forms.JSONField and forms.UUIDField in docs.
...
Backport of e6d77e6515
from master
2020-09-25 18:31:14 +02:00
Mariusz Felisiak
b7df7de44f
[3.1.x] Fixed #32038 -- Fixed EmptyFieldListFilter crash with GenericRelation.
...
Thanks Javier Matos Odut for the report.
Backport of e4ab44a4b2
from master
2020-09-25 10:10:26 +02:00
Mariusz Felisiak
986cd28f95
[3.1.x] Refs #32038 -- Added note to ModelAdmin.list_filter docs that GenericForeignKeys are not supported.
...
Backport of 33e91f3ed8
from master
2020-09-25 10:10:20 +02:00
Mariusz Felisiak
d05a1f5792
[3.1.x] Fixed typo and indentation in docs/ref/forms/fields.txt.
...
Backport of 10a289745f
from master
2020-09-25 10:04:50 +02:00
Paweł Zarębski
562a4824d7
[3.1.x] Fixed example of QuerySet.explain() with flags in docs.
...
Backport of 054ab1e00f
from master
2020-09-23 11:48:08 +02:00
Mariusz Felisiak
fbb7881956
[3.1.x] Fixed #32012 -- Made test database creation sync apps models when migrations are disabled.
...
Thanks Jaap Roes for the report.
Backport of 77caeaea88
from master
2020-09-23 10:54:50 +02:00
Carlton Gibson
2c629b37d5
[3.1.x] Fixed #32016 -- Clarified manual logging config docs.
...
Backport of 2a55431a56
from master
2020-09-22 14:16:40 +02:00
János Roden
1d7c4addbd
[3.1.x] Fixed #32004 -- Clarified docs for when request.FILES is set.
...
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
Backport of 9e4b1ad33e
from master
2020-09-22 13:28:55 +02:00
Mariusz Felisiak
73d084bf97
[3.1.x] Refs #32013 -- Added backward incompatibility note about ModelChoiceIterator changes.
...
Backport of ba6b32e5ef
from master
2020-09-21 06:26:59 +02:00
David D Lowe
b9ee225d08
[3.1.x] Doc'd that UpdateCacheMiddleware and cache_page affect downstream caches.
...
Thanks to Nick Pope for review.
Backport of f3901b5899
from master
2020-09-17 14:29:00 +02:00
Mike Lissner
17a4082078
[3.1.x] Refs #28939 -- Doc’d Prefetch behavior with multiple DBs.
...
Backport of 8c0794ba0d
from master
2020-09-17 14:27:31 +02:00
Mariusz Felisiak
1afc9b31bb
[3.1.x] Fixed #32007 -- Fixed queryset crash with Q() annotation and aggregation.
...
Thanks Gordon Wrigley for the report.
Regression in 8a6df55f2d
.
Backport of eaf9764d3b
from master
2020-09-15 11:41:42 +02:00
Mariusz Felisiak
a3bb80dc31
[3.1.x] Fixed #31990 -- Fixed QuerySet.ordered for GROUP BY queries on models with Meta.ordering.
...
Regression in 0ddb4ebf7b
.
Thanks Julien Dutriaux for the report.
Backport of e11d05e0b4
from master
2020-09-14 20:08:18 +02:00
Mariusz Felisiak
462d7837f9
[3.1.x] Corrected exception types in QuerySet docs.
...
Backport of 9a0e5052ed
from master
2020-09-13 20:11:00 +02:00
Mariusz Felisiak
6b16623bd9
[3.1.x] Refs #31956 -- Doc'd consequences of disabling psycopg2's JSONB typecaster.
...
Follow up to 0be51d2226
.
Backport of 438b85dfab
from master
2020-09-10 11:00:59 +02:00
Mariusz Felisiak
4e6b6fac43
[3.1.x] Mentioned ASGI handler in SuspiciousOperation docs.
...
Backport of 453967477e
from master
2020-09-09 09:35:56 +02:00
jpribyl
3fc636244e
[3.1.x] Fixed #31894 -- Added note about using JSONField key lookups with QuerySet.exclude() in docs.
...
Backport of 17407eca59
from master
2020-09-04 10:17:13 +02:00
Mariusz Felisiak
f36c441f80
[3.1.x] Refs #31224 -- Made sync_to_async() examples use thread sensitive with ORM calls.
...
Backport of 8d59075184
from master
2020-09-03 12:07:25 +02:00
Brian Helba
c69c6886de
[3.1.x] Fixed #31941 -- Corrected FileField.deconstruct() with a callable storage.
...
Backport of 2d42e23b6d
from master
2020-09-02 11:07:43 +02:00
Carlton Gibson
8178c4fbfb
[3.1.x] Refs #11390 -- Clarified dual-calling of ChoiceField.choices callable.
...
Backport of 0bf627f0b2
from master
2020-09-02 08:29:33 +02:00
007gzs
2610a3909e
[3.1.x] Added "Bugfixes" section to release notes for 3.1.2.
...
Backport of 76e0151ea0
from master
2020-09-02 07:00:36 +02:00
Carlton Gibson
63787b3ed6
[3.1.x] Added CVE-2020-24583 & CVE-2020-24584 to security archive.
...
Backport of d5b526bf78
from master
2020-09-01 11:38:06 +02:00
Carlton Gibson
2629882095
[3.1.x] Added stub release notes for 3.1.2.
...
Backport of 7a60670b78
from master
2020-09-01 10:45:36 +02:00
Carlton Gibson
1ef38005a7
[3.1.x] Added release date for 3.1.1, 3.0.10, and 2.2.16.
...
Backport of 976e2b7420
from master
2020-09-01 09:57:12 +02:00
Mariusz Felisiak
2b099caa59
[3.1.x] Fixed CVE-2020-24584 -- Fixed permission escalation in intermediate-level directories of the file system cache on Python 3.7+.
...
Backport of f56b57976133129b0b351a38bba4ac882badabf0 from master.
2020-09-01 09:35:05 +02:00
Mariusz Felisiak
934430d22a
[3.1.x] Fixed CVE-2020-24583, #31921 -- Fixed permissions on intermediate-level static and storage directories on Python 3.7+.
...
Thanks WhiteSage for the report.
Backport of ea0febbba531a3ecc8c77b570efbfb68ca7155db from master.
2020-09-01 09:35:05 +02:00
007gzs
dfa31f8e87
[3.1.x] Fixed #31901 -- Prevented content overflowing in the admin changelist with navigation sidebar.
...
Backport of 2bc38bc7ca
from master
2020-09-01 08:19:12 +02:00
Abdullah Dursun
42f8c085a6
[3.1.x] Corrected note about long names in search docs.
...
Backport of fcad0b1324
from master
2020-08-31 22:37:20 +02:00
Hasan Ramezani
eda59ba2ec
[3.1.x] Fixed #31934 -- Added note about the default of SameSite cookie flag in modern browsers.
...
Backport of 70731fc6fe
from master
2020-08-31 12:33:17 +02:00
Federico Jaramillo Martínez
c4e5384e73
[3.1.x] Fixed #31952 -- Fixed EmptyFieldListFilter crash with reverse relationships.
...
Thanks dacotagh for the report.
Backport of 179d9dc0c2
from master
2020-08-31 10:40:21 +02:00
Simon Charette
2986ec031d
[3.1.x] Fixed #31965 -- Adjusted multi-table fast-deletion on MySQL/MariaDB.
...
The optimization introduced in 7acef095d7
did not properly handle
deletion involving filters against aggregate annotations.
It initially was surfaced by a MariaDB test failure but misattributed
to an undocumented change in behavior that resulted in the systemic
generation of poorly performing database queries in 5b83bae031
.
Thanks Anton Plotkin for the report.
Refs #23576 .
Backport of f6405c0b8e
from master
2020-08-31 09:22:59 +02:00
Mariusz Felisiak
655e1ce6b1
[3.1.x] Fixed #31956 -- Fixed crash of ordering by JSONField with a custom decoder on PostgreSQL.
...
Thanks Marc Debureaux for the report.
Thanks Simon Charette, Nick Pope, and Adam Johnson for reviews.
Backport of 0be51d2226
from master
2020-08-28 19:12:02 +02:00
Kevin Michel
3a42c0447b
[3.1.x] Fixed #31928 -- Fixed detecting an async get_response in various middlewares.
...
SecurityMiddleware and the three cache middlewares were not calling
super().__init__() during their initialization or calling the required
MiddlewareMixin._async_check() method.
This made the middlewares not properly present as coroutine and
confused the middleware chain when used in a fully async context.
Thanks Kordian Kowalski for the report.
Backport of 825ce75fae
from master
2020-08-28 12:35:53 +02:00
Mariusz Felisiak
14a19700d8
[3.1.x] Fixed #31912 -- Removed strict=True in Path.resolve() in project template and CommonPasswordValidator.
...
This caused permission errors when user didn't have permissions to
all intermediate directories in a Django installation path.
Thanks tytusd and leonyxz for reports.
Regression in edeec1247e
and
26554cf5d1
.
Backport of e39e727ded
from master
2020-08-28 05:59:11 +02:00
Mariusz Felisiak
9075d1f662
[3.1.x] Fixed #31936 -- Fixed __in lookup on key transforms for JSONField.
...
This resolves an issue on databases without a native JSONField
(MariaDB, MySQL, SQLite, Oracle), where values must be wrapped.
Thanks Sébastien Pattyn for the report.
Backport of 1251772cb8
from master
2020-08-26 22:14:46 +02:00
Michael Galler
b6d2419120
[3.1.x] Fixed #31905 -- Made MiddlewareMixin call process_request()/process_response() with thread sensitive.
...
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
Backport of 547a07fa7e
from master
2020-08-26 07:54:55 +02:00