Commit Graph

28711 Commits

Author SHA1 Message Date
Jon Dufresne 4e7190017b [3.1.x] Corrected output of rendered formset example in model formsets docs.
Backport of 2b56c56653 from master
2020-10-26 07:58:38 +01:00
Mariusz Felisiak 767e06b5a8 [3.1.x] Fixed #32130 -- Fixed pre-Django 3.1 password reset tokens validation.
Thanks Gordon Wrigley for the report and implementation idea.

Regression in 226ebb1729.
Backport of 3418092238 from master
2020-10-22 13:22:00 +02:00
Mariusz Felisiak c6b95be190 [3.1.x] Updated release notes following backport of 4047c1602c. 2020-10-22 10:11:43 +02:00
Simon Charette 8aedad6909 [3.1.x] Refs #9475 -- Linked through_default docs to related managers methods.
Backport of 284bde3fbe from master
2020-10-22 10:09:41 +02:00
Carlton Gibson b37d5849b7 [3.1.x] Fixed #32069 -- Fixed admin change-form layout on small screens.
Restored flex-wrap CSS declaration to form elements at smallest breakpoint.
This was present since the responsive admin was introduced in dc37e8846e.
Regression in 8ee4bb6ffc, where it was accidentally removed.

Backport of 257f8495d6 from master
2020-10-21 15:09:45 +02:00
Mariusz Felisiak 012df8d2d3 [3.1.x] Fixed outdated notes in SchemaEditor docs.
Backport of 197b55c534 from master
2020-10-20 09:49:39 +02:00
Mariusz Felisiak d75cfe11e8 [3.1.x] Fixed typo in docs/ref/checks.txt.
Backport of b3b0be3df3 from master
2020-10-19 19:23:25 +02:00
Hasan Ramezani 2212927c1b [3.1.x] Fixed #32107 -- Fixed ProtectedError.protected_objects and RestrictedError.restricted_objects.
Regression in 4ca5c565f4 and
ab3cbd8b9a.

Thanks Vitaliy Yelnik for the report.

Backport of 3b1746d519 from master
2020-10-19 13:10:13 +02:00
Jacob Walls 18ffdf5c87 [3.1.x] Fixed typo in docs/topics/testing/tools.txt.
Backport of 4e4db426c5 from master
2020-10-18 19:51:56 +02:00
Claude Paroz 8caf524a1d [3.1.x] Fixed #32110 -- Doc'd and tested enumerations for ChoiceField.choices.
Backport of 7f85498eef from master
2020-10-17 21:01:54 +02:00
Mariusz Felisiak be3ce38656 [3.1.x] Refs #32096 -- Made JSONField check respect Meta.required_db_vendor.
Thanks Simon Charette for the implementation idea.
Backport of 1fb97fb965 from master
2020-10-15 22:06:33 +02:00
Carlton Gibson 848e48c62d [3.1.x] Fixed #29988 -- Updated coding style to allow f-strings.
Thanks to Nick Pope for review.

Backport of 411cc0ae18 from master
2020-10-15 10:10:49 +02:00
Mariusz Felisiak 536213278c [3.1.x] Refs #32096 -- Fixed ExclusionConstraint crash with JSONField key transforms in expressions.
Regression in 6789ded0a6.

Backport of ee0abac169 from master.
2020-10-14 22:10:09 +02:00
Mariusz Felisiak ae6b24093c [3.1.x] Refs #32096 -- Fixed ExpressionWrapper crash with JSONField key transforms.
Regression in 6789ded0a6.

Thanks Simon Charette and Igor Jerosimić for the report.

Backport of bbd55e5863 from master
2020-10-14 21:03:40 +02:00
Mariusz Felisiak 59fe0b8541 [3.1.x] Refs #32096 -- Fixed __in lookup crash against key transforms for JSONField.
Regression in 6789ded0a6 and
1251772cb8.

Thanks Simon Charette and Igor Jerosimić for the report.

Backport of 7e1e198494 from master
2020-10-14 21:03:15 +02:00
Mariusz Felisiak d94e777b66 [3.1.x] Refs #32096 -- Fixed crash of ArrayAgg/StringAgg/JSONBAgg with ordering over JSONField key transforms.
Regression in 6789ded0a6.

Thanks Igor Jerosimić for the report.

Backport of 1f31027bb3 from master
2020-10-14 21:02:29 +02:00
Mariusz Felisiak 735c88fdd7 [3.1.x] Refs #32096 -- Added test for ArrayAgg over JSONField key transforms.
Backport of 1d650ad019 from master
2020-10-14 20:57:03 +02:00
Mariusz Felisiak 84685e5132 [3.1.x] Refs #31040 -- Doc'd Python 3.9 compatibility.
Backport of e18156b6c3 from master.
2020-10-13 08:36:43 +02:00
shivam sharma b7d58dd5df [3.1.x] Fixed typo in docs/topics/i18n/translation.txt.
Backport of c9f12f149f from master
2020-10-13 08:32:56 +02:00
Tim Schilling 4047c1602c [3.1.x] Fixed #32091 -- Fixed admin search bar width on filtered admin page.
Backport of b7da588e88 from master
2020-10-09 12:11:15 +02:00
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
Mariusz Felisiak 322f0f7012 [3.1.x] Skipped GetImageDimensionsTests.test_webp when WEBP is not installed.
Backport of fce389af7c from master
2020-10-06 11:26:30 +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 c912356264 [3.1.x] Post-release version bump. 2020-10-01 07:39:36 +02:00
Mariusz Felisiak 970729693a [3.1.x] Bumped version for 3.1.2 release. 2020-10-01 07:26:07 +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
Claude Paroz f7397bb7c8 [3.1.x] Updated translations from Transifex. 2020-09-30 09:53:06 +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 5a03e14deb [3.1.x] Refs #32007 -- Skipped test_q_expression_annotation_with_aggregation on Oracle.
Backport of 3a9f192b13 from master
2020-09-16 11:47:48 +02:00