Mariusz Felisiak
54dce8148a
[3.1.x] Refs #31790 -- Removed incorrect item from 2.2.15 and 3.0.9 release notes.
...
Django 2.2 and 3.0 don't support settings samesite='None' in
HttpResponse.set_cookie() so fix is not necessary and will not be
backported.
Backport of 9bc8b1ad2d88209bf45f389fe3cc8b94909b0e72 from master
2020-07-16 09:27:39 +02:00
Mariusz Felisiak
3ca8cc0df1
[3.1.x] Fixed #31790 -- Fixed setting SameSite and Secure cookies flags in HttpResponse.delete_cookie().
...
Cookies with the "SameSite" flag set to None and without the "secure"
flag will be soon rejected by latest browser versions.
This affects sessions and messages cookies.
Backport of 240cbb63bf9965c63d7a3cc9032f91410f414d46 from master
2020-07-16 08:17:45 +02:00
Eric Theise
ac699ba647
[3.1.x] FIxed typo in docs/ref/contrib/postgres/forms.txt.
...
Backport of d08e6f55e3a986a8d4b3a58431d9615c7bc81eaa from master
2020-07-15 09:04:11 +02:00
Claude Paroz
dda8a2aa1d
Added admin translatable string.
2020-07-14 21:34:02 +02:00
Kelechi Precious Nwachukwu
6b273a2165
[3.1.x] Added Igbo language.
...
Backport of 2cd3e7eeaf59265d87546ca122a273d4c4109e8b from master
2020-07-14 21:05:55 +02:00
Caio Ariede
7fe7d83295
[3.1.x] Fixed #21528 -- Added note about filtering form field's queryset based on instance to admin docs.
...
Backport of d38c34119e91a533c797098f150abe99b5ee2fd8 from master
2020-07-13 23:02:05 +02:00
Mariusz Felisiak
7045fa7f7a
[3.1.x] Refs #27430 -- Added buffer argument to DiscoverRunner docs.
...
Backport of 188f7786bc434a3e5ca7b46d2975a08318fe7452 from master
2020-07-10 19:06:40 +02:00
Mariusz Felisiak
33457aa3cf
[3.1.x] Refs #30676 -- Added pdb argument to DiscoverRunner docs.
...
Backport of 2c43840dfba42ed02574a270d826fda08e4b50d1 from master
2020-07-10 19:01:39 +02:00
Ramiro Morales
fb9add3c7d
[3.1.x] Corrected custom model fields how-to.
...
get_prep_value() method is complementary of from_db_value().
Follow up to e9103402c0fa873aea58a6a11dba510cd308cb84.
Backport of 52a0a03671437fc4c1be1eef431685a16aef8b43 from master
2020-07-10 11:37:37 +02:00
Mariusz Felisiak
e6285cac83
[3.1.x] Fixed #31773 -- Fixed preserving output_field in ExpressionWrapper for combined expressions.
...
Thanks Thodoris Sotiropoulos for the report and Simon Charette for the
implementation idea.
Regression in df32fd42b84cc6dbba173201f244491b0d154a63.
Backport of 8a6df55f2dd5131282084a4edfd48f63fbf8c69a from master
2020-07-09 11:55:45 +02:00
Carlton Gibson
b19372952c
[3.1.x] Removed unsupported third-party database backends from docs.
...
Backport of 1d8256719eecb724476e6cb8d63cfebf6ba1a3cc from master
2020-07-08 22:30:23 +02:00
Tim Park
3756a0509a
[3.1.x] Fixed #31739 -- Documented dependency between HttpRequest stream IO methods and body.
...
Backport of 060576b0abac460d72714e300aa709d1e7a87dd7 from master
2020-07-08 10:41:28 +02:00
Tim Park
dad6973629
[3.1.x] Fixed #31502 -- Documented Model._state.db and Model._state.adding
...
Backport of 697e59d5cf81e6c7e4a06ca98d6e3e16cea486dc from master
2020-07-08 10:06:45 +02:00
Resulkary
2160481066
[3.1.x] Added Turkmen language.
...
Backport of af2b3fee081e85e8487c3b64b7967a50ff8fe6cf from master
2020-07-08 09:03:22 +02:00
Jason Held
703256fc68
[3.1.x] Fixed #24816 -- Clarified docs about preventing duplicate signals.
...
Backport of 639142e24d41c5e5a508cb1280f32fd7ff159cca from master
2020-07-08 08:23:08 +02:00
Jacob Walls
eae78a363b
[3.1.x] Fixed #29308 -- Clarified how assertQuerysetEqual()'s transform works.
...
Backport of 659a73bc0a2df9be856e23fcfc6cc66d0d1a35fd from master
2020-07-04 23:48:48 +02:00
Tom Forbes
7598ba01aa
[3.1.x] Refs #12990 -- Added example to JSONField release notes.
...
Backport of 5d4b9c1cab03f0d057f0c7751862df0302c65cf9 from master
2020-07-03 12:58:33 +02:00
MansurAliKoroglu
05206ca4ff
[3.1.x] Adjusted multi-db example to avoid confusion with DATABASES keys.
...
Backport of d88952142bff1c0283a929749fb64c53d07ad91e from master
2020-07-03 12:41:36 +02:00
David Smith
8904895a80
[3.1.x] Fixed #30945 -- Doc'd plural equations changes in 2.2. release notes.
...
Backport of 392036be29b759204cbc4033072672acacabf3f7 from master
2020-07-03 09:38:52 +02:00
Carlton Gibson
268ba2db8e
[3.1.x] Refs #6903 -- Adjusted ModelAdmin.preserve_filters docs.
...
Backport of b142bd4a1b83b77c5c81a8cf5a80a63608f96ad4 from master
2020-07-02 21:10:34 +02:00
Mariusz Felisiak
4e3b0f56ba
[3.1.x] Added stub release notes for 3.0.9.
...
Backport of c2a835703f706583542e9dae82749ac3b92819f8 from master
2020-07-01 07:12:40 +02:00
Mariusz Felisiak
df66b2fba0
[3.1.x] Added release date for 2.2.14 and 3.0.8.
...
Backport of 0f3aecf581b50215820455eb2f6a19a1b3b3ef8b from master
2020-07-01 06:18:30 +02:00
Carlton Gibson
84640f5ae3
[3.1.x] Fixed #31752 -- Fixed intermittent test_order_by_relational_field_through_model failure.
...
Set explicit datetime for M2M ordering test.
Thanks to Mariusz Felisiak for the suggestion.
Backport of b5371539a9d871758d639a85d1f2fd648c1f633d from master
2020-06-30 13:08:58 +02:00
Adam Johnson
5460041475
[3.1.x] Improved RegexValidator docs.
...
Backport of 8cf08a01b5039aacdb465f467f167684fa04b2d2 from master
2020-06-30 12:55:52 +02:00
Mariusz Felisiak
3b5e307bbc
[3.1.x] Fixed #31751 -- Fixed database introspection with cx_Oracle 8.
...
Backport of 615e32162ff646db3456b90fb4eaaecc33dd3e4e from master
2020-06-30 09:54:42 +02:00
Ad Timmering
c944df827f
[3.1.x] Fixed #30807 -- Fixed TestArchive.test_extract_file_permissions() when umask is 0o000.
...
Fixed test that checks permissions on files extracted from archives
with no permissions set, to not assume a default umask of 0o002.
Test regression in c95d063e776e849cf1a0bf616c654165cb89c706.
Backport of ec5aa2161d8015a3fe57dcbbfe14200cd18f0a16 from master
2020-06-29 07:52:23 +02:00
Mariusz Felisiak
5263480d7f
[3.1.x] Fixed #31742 -- Fixed makemigrations crash on ForeignKey to an app with mixed case label.
...
Regression in 9e1b6b8a66af4c2197e5b1b41eb9dbb36e4f6502.
Thanks Ignacio Santolin for the report.
Backport of 62d85a283500e9abb0e1c9ec53c59be468f056a0 from master
2020-06-26 23:20:21 +02:00
Steven Pousty
1a3029b6b4
[3.1.x] Fixed #31743 -- Doc't that managed=False prevents Django from managing tables modifications.
...
Backport of d2c135da4c75079e45661ec609bd72f27dddf2a9 from master
2020-06-26 09:58:55 +02:00
Adam Johnson
6ed4a9bdb3
[3.1.x] Refs #31493 -- Replaced var with const/let in documentation JS.
...
Backport of 2afa61e7d99b2ff2656dc64b6e28db88baf786a4 from master
2020-06-24 12:22:54 +02:00
Simon Charette
b8cb14e8a0
[3.1.x] Fixed #31735 -- Fixed migrations crash on namespaced inline FK addition on PostgreSQL.
...
The namespace of the constraint must be included when making the
constraint immediate.
Regression in 22ce5d0031bd795ade081394043833e82046016c.
Thanks Rodrigo Estevao for the report.
Backport of 2e8941b6f90e65ffad3f07083b8de59e8ed29767 from master
2020-06-24 08:59:43 +02:00
Ahmad A. Hussein
ac0ff7d700
[3.1.x] Fixed #31736 -- Fixed InspectDBTransactionalTests.test_foreign_data_wrapper crash on Windows.
...
Backport of 798835112d81b852efaae0e067af389c733cd1b3 from master
2020-06-23 21:00:09 +02:00
Yash Saini
648f6ffcd7
[3.1.x] Refs #31541 -- Added example of creating Redirect objects to redirects app docs.
...
Backport of a8c0246ece0716cea2ea6c1b313d4d93a10ee333 from master
2020-06-23 20:21:43 +02:00
Adam Johnson
59dcbdaed4
[3.1.x] Made small improvements to PostgreSQL operations docs.
...
Backport of 0ff322884484d9ee81877006825f4a167ab82eb5 from master.
2020-06-23 11:32:50 +02:00
Guillermo Bonvehí
b2e2489d80
[3.1.x] Fixed #31728 -- Fixed cache culling when no key is found for deletion.
...
DatabaseCache._cull implementation could fail if no key was found to
perform a deletion in the table. This prevented the new cache key/value
from being correctly added.
Backport of f386454d1302b66d0eb331ed0ae9e4811e2f3a15 from master
2020-06-22 07:10:16 +02:00
Tom Forbes
ac7f7eab0f
[3.1.x] Fixed #31716 -- Fixed detection of console scripts in autoreloader on Windows.
...
Backport of 8a902b7ee622ada258d15fb122092c1f02b82698 from master
2020-06-18 13:04:44 +02:00
David Smith
928f6a90e4
[3.1.x] Fixed #30933 -- Updated instructions for installing GeoDjango on Windows.
...
Backport of 7f4db2d82b1385d1026c441e25abd4cb19fcccc6 from master
2020-06-17 20:14:31 +02:00
David Smith
58f7d7c9fd
[3.1.x] Adjusted model definition in GeoDjango tutorial.
...
The example uses the world border data set, where
one of the entries has a null field value.
Backport of 6bc9283751d51cab474d1bf6883a3b40cce32d4b from master
2020-06-17 20:11:20 +02:00
David Smith
9b95c3bc09
[3.1.x] Refs #31670 -- Removed whitelist/blacklist terminology in docs and comments.
...
Backport of 10df5b71775d8ee98201acb1367266521b17cc00 from master
2020-06-17 13:16:17 +02:00
Tobias Krönke
5ba2dfb9d0
[3.1.x] Fixed #31689 -- Doc'd caveat about using bulk_create()'s ignore_conflicts on MariDB and MySQL.
...
Backport of 69e0d9c553bb55dde8d7d1d479a78bfa7093f406 from master
2020-06-15 12:52:45 +02:00
Mariusz Felisiak
450df4a45a
[3.1.x] Bumped version for 3.1 beta 1.
3.1b1
2020-06-15 09:54:25 +02:00
Mariusz Felisiak
3f70188033
[3.1.x] Updated man page for Django 3.1 beta.
2020-06-15 09:52:09 +02:00
Hasan Ramezani
ecd794bc68
[3.1.x] Fixed #31696 -- Updated OWASP links in docs.
...
Backport of a16080810bee8b3baf9ae7ac7b8433cb7b293e00 from master
2020-06-15 09:44:37 +02:00
sebashwa
2d3b6bce28
[3.1.x] Fixed #31690 -- Added note about fuzzy entries in translation docs.
...
Backport of 3d664a158de18acf72fc8e0671f0f390cbca4b2e from master
2020-06-15 09:05:09 +02:00
Claude Paroz
6f526cb203
[3.1.x] Added support for the Tajik language.
...
Thanks Sirius Sufiew for contributing that support.
Backport of db8268bce69fb53b7be4be90a2d7200c12019b90 from master
2020-06-12 22:32:46 +02:00
Mariusz Felisiak
42f5f2d76b
[3.1.x] Fixed #31659 -- Made ExpressionWrapper preserve output_field for combined expressions.
...
Regression in df32fd42b84cc6dbba173201f244491b0d154a63.
Thanks Simon Charette for the review.
Backport of aeb8996a6706cad3e96d8221760c1cb408ee7ed9 from master
2020-06-12 07:21:19 +02:00
Michael Brown
45ec013116
[3.1.x] Fixed #28132 -- Made MultiPartParser ignore filenames with trailing slash.
...
Backport of 36db4dd937ae11c5b687c5d2e5fa3c27e4140001 from master
2020-06-11 09:12:14 +02:00
Hasan Ramezani
4385ef0119
[3.1.x] Fixed #31657 -- Fixed ordering by attnames of self-referential ForeignKeys.
...
Backport of 037a624120b676858be4b93c4d0adda45916fd2a from master
2020-06-10 12:05:31 +02:00
Hasan Ramezani
bdfad57319
[3.1.x] Refs #31657 -- Added test for ordering by self-referential ForeignKeys.
...
Backport of c1f7de8acc187a3899f7f3cda47edbc2f4142d7d from master
2020-06-10 12:05:24 +02:00
Mariusz Felisiak
714d7cb415
[3.1.x] Refs #31682 -- Doc'd minimal sqlparse version in Django 2.2.
...
Support for sqlparse < 0.2.2 was broken in
40b0a58f5ff949fba1072627e4ad11ef98aa7f36 because is_whitespace property
was added in sqlparse 0.2.2.
Backport of 4339f2aff272bceabd67e452c65bcfe0700b3f09 from master
2020-06-10 06:54:24 +02:00
Joshua Massover
3fb69756ea
[3.1.x] Fixed #31594 -- Added ASGIStaticFilesHandler.get_response_async().
...
Backport of 92309e53d9921a60e667656d8dd65e59eb5cf81c from master
2020-06-08 13:00:48 +02:00