11536 Commits

Author SHA1 Message Date
Hasan Ramezani
22a2e97fc3 [3.0.x] Fixed #31420 -- Fixed crash when filtering subquery annotation against a SimpleLazyObject.
Thanks Simon Charette for the solution and analysis.

Backport of 4237050684427db45ea834fe89d9e11c0520201e from master
2020-04-06 08:15:51 +02:00
Simon Charette
810f18c2df [3.0.x] Fixed #31423 -- Clarified nested atomic() example.
Backport of fa5e7e46d875d4143510944f19d79df7b1739bab from master
2020-04-06 06:17:16 +02:00
Carlton Gibson
2c3497980f [3.0.x] Corrected docs spelling of PgBouncer.
Backport of b1f88476dbd738bdcc20466efd5ffcb83ab25093 from master
2020-04-01 15:15:21 +02:00
Adam Johnson
0342d47e7a [3.0.x] Prevented (and corrected) single backtick usage in docs.
Backport of 1cdfe8d91215eefaa18c398069dd9c6879a9511d from master.
2020-04-01 15:15:21 +02:00
Adam Johnson
c9437596fe [3.0.x] Refs #31320 -- Warned against using BEGIN/COMMIT in RunSQL.
Backport of e9b014fbc56b9baf91019a803ab2a45788c5c44a from master
2020-04-01 10:59:42 +02:00
Carlton Gibson
73001dd8ad [3.0.x] Added stub release notes for 3.0.6.
Backport of a7e4ff370cdb046b048b40e6e0d043cc6a91247c from master
2020-04-01 10:11:24 +02:00
Carlton Gibson
d569a8fdde [3.0.x] Added release dates for 2.2.12 and 3.0.5.
Backport of b56243b77f6ae3125bd1a3f24163b28a13a30c5f from master
2020-04-01 09:17:38 +02:00
Mariusz Felisiak
ab09559b19 [3.0.x] Removed unused link in docs/faq/help.txt.
Unused since its introduction in 97cb07c3a10ff0e584a260a7ee1001614691eb1d.
Backport of 3eaf6d67d01dd13baa7237153e7a6e371c56b336 from master
2020-03-31 18:28:16 +02:00
Adam Johnson
9362bf71c3 [3.0.x] Fixed links in Getting Help FAQ.
Follow up to 6ef4c8aa9f887f72ebdacff229b9012686272e3a,
Backport of 00ff7a44dee91be59a64559cadeeba0f7386fd6f from master
2020-03-30 07:45:32 +02:00
Hasan Ramezani
a6cc8b80cb [3.0.x] Fixed #31400 -- Doc'd the expected type of CONN_MAX_AGE database option.
Backport of bec4dea844332390aecd72f22afc6673a3f5f5fc from master
2020-03-27 07:02:09 +01:00
Adam Johnson
f4ee1ba74d [3.0.x] Rewrote Get Help FAQ.
Backport of 6ef4c8aa9f887f72ebdacff229b9012686272e3a from master
2020-03-26 10:25:24 +01:00
Carlton Gibson
3bb1e6c504 [3.0.x] Fixed #31330 -- Corrected catchall URL pattern in flatpages docs.
Use re_path() pattern with the regex used before original regression in
df41b5a05d4e00e80e73afe629072e37873e767a.
Regression in a0916d7212aaae634f4388d47d8717abc2cd9036.

Backport of 8f2a6c76d19e4010c4683b20ed7f1eb4b07c17eb from master
2020-03-26 09:18:45 +01:00
Adam Johnson
2306f8c9bb [3.0.x] Added additional note that tests use locmem email backend.
Backport of f344c75fb09f75879334740f1f8a09c176d93c12 from master
2020-03-25 15:25:56 +01:00
Adam Johnson
c740a994fa [3.0.x] Improved docs on migration reversibility.
- Clarify reversibility for RunSQL and RunPython operations.
- Add example for migrate with irreversible migration.

Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
Backport of b15b3706fec8ef59577ac47118ee0c62132a03a6 from master
2020-03-25 14:39:17 +01:00
Adam Johnson
76db34e52a [3.0.x] Improved sessions notes in deployment checklist.
- Added note to clear old sessions when using database-backend.
- Made note to consider the cache backend more generic.
Backport of 66b06822d05ca1cf897745e7cb3c89adc53363ba from master
2020-03-25 12:05:36 +01:00
Hasan Ramezani
72652bcb1b [3.0.x] Fixed #31377 -- Disabled grouping by aliases on QuerySet.values()/values_list() when they collide with field names.
Regression in fb3f034f1c63160c0ff13c609acd01c18be12f80.

Thanks Holovashchenko Vadym for the report.

Backport of 10866a10fe9f0ad3ffdf6f93823aaf4716e6f27c from master
2020-03-25 09:49:51 +01:00
Adam Johnson
600d7d8693 [3.0.x] Added link to contributing docs in deprecation policy.
Backport of f1db2ca7328ff9f0f8b4db81699cc46ff5c8cc37 from master
2020-03-24 08:50:50 +01:00
Victor Moura
6de7a600c0 [3.0.x] Fixed #31385 -- Improved wording in tutorial 1.
Backport of 1628b35b586e07ea47a82713192d0e4662268686 from master
2020-03-24 07:12:59 +01:00
Tim Graham
2892c65461 [3.0.x] Removed obsolete references to South database migrations.
Backport of 291539a85c8461456ab728fe6820a86de54294b6 from master
2020-03-23 11:56:27 +01:00
Hasan Ramezani
aea9344139 [3.0.x] Fixed #31368 -- Doc'd 'expression' parameter of Field.from_db_value()/Expression.convert_value().
Backport of 6929f13254ce42b0a4ee5d677591d47b61023ae7 from master
2020-03-18 11:57:25 +01:00
Carlton Gibson
5c1ad59a0e [3.0.x] Fixed typo in docs/topics/async.txt.
Backport of f622b490106289e78c727c464d001e01a4f71d8b from master
2020-03-17 20:57:45 +01:00
Ben Li-Sauerwine
2f5c35cf39 [3.0.x] Made logging config examples more accessible.
- Show an initial example configuring the root logger to output to the console.
- Then add more logging from the `django` named logger.
- Then show the file and more complex examples.

Adjusted surrounding text for reading flow.

Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
Backport of fc84848cd9509409e420b21b6db697f22f2c82a4 from master
2020-03-17 11:51:50 +01:00
Philipp Bosch
725d7c2a7c [3.0.x] Corrected outdated sentence in One-to-one relationships docs.
Backport of f75af5b67bac58d6c6d043d5e9e14bd0908505dd from master
2020-03-17 11:08:55 +01:00
David Smith
c5ac3ab056 [3.0.x] Fixed #31362 -- Removed nonexistent choices attribute from MultipleHiddenInput's docs.
Follow up to 65c13f9675d2ca7fc1c925e7182a2e35d07ff5fb.
Backport of 7075d27b0c75f1431f29497f4353cd742906b357 from master
2020-03-14 20:21:47 +01:00
Hasan Ramezani
6831049fc2 [3.0.x] Fixed #31330 -- Updated flatpages URLconf example to work with APPEND_SLASH.
Regression in df41b5a05d4e00e80e73afe629072e37873e767a.
Backport of a0916d7212aaae634f4388d47d8717abc2cd9036 from master
2020-03-14 20:10:05 +01:00
Andrew Godwin
8d4638db20 [3.0.x] Refs #31224 -- Doc'd async adapter functions.
Backport of 40a64dd1e24d45f8e00a55b22a5174b8f1359b5c from master
2020-03-13 07:37:30 +01:00
Claude Paroz
d9f1792c76 [3.0.x] Fixed #30439 -- Added support for different plural forms for a language.
Thanks to Michal Čihař for review.
Backport of e3e48b00127c09eafe6439d980a82fc5c591b673 from master
2020-03-10 15:57:36 +01:00
Carlton Gibson
525274f79b [3.0.x] Added stub release notes for 2.2.12.
Backport of a4200e958d1da46465d7d684674a1711bc9f65e0 from master
2020-03-10 12:03:05 +01:00
Adam Johnson
6b41f07720 [3.0.x] Clarified SeparateDatabaseAndState docs and added example of changing ManyToManyField.
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Co-Authored-By: Carlton Gibson <carlton.gibson@noumenal.es>
Co-Authored-By: René Fleschenberg <rene@fleschenberg.net>

Backport of a9ee6872bd9e1bacc2da827dbd5b9093f724e4a5 from master
2020-03-10 11:14:05 +01:00
Adam Radwon
0f524f5686 [3.0.x] Fixed #27865 -- Adjusted docs example to avoid confusion with models.BaseManager.
Backport of a2f554249ec07d4643643773a995579f98564ac1 from master
2020-03-10 09:17:41 +01:00
Mariusz Felisiak
0fde2664f6 [3.0.x] Corrected learn_cache_key() signature in docs.
Follow up to b22415214a7bdeaf8ccd7b8b21872038ab865991.
Backport of 5e17301f38d0a4f372d4d36762a464f5f4714ebd from master
2020-03-10 08:55:19 +01:00
Mariusz Felisiak
d6e67df4b9 [3.0.x] Updated migrations example in tutorial 2.
Follow up to a97845a823c86b1d6e65af70fbce64e6e747e081.
Backport of 5da627a58f41d6854342e95a171a82f5b2309d52 from master
2020-03-10 08:54:04 +01:00
Борис Верховский
2928587694 [3.0.x] Corrected get_cache_key() signature in docs.
Follow up to b22415214a7bdeaf8ccd7b8b21872038ab865991 and
cb17f7ca2252265ab4a844e7924cb8ebab4a1a76
Backport of d82d2d49d629f010da2c0d81b5927946d971ae72 from master
2020-03-10 08:14:03 +01:00
Shrikrishna Singh
300bd064c1 [3.0.x] Fixed #31350 -- Fixed typo in docs/topics/db/optimization.txt.
Backport of 370628673b98ada302c3930865c4bfde2d8ed5a1 from master
2020-03-09 07:55:28 +01:00
Adam Johnson
cc20699e0a [3.0.x] Doc'd return values of as_sql() for Func and query expressions.
Backport of 8c1b073b596af23c02020879219b4e85f15a836d from master
2020-03-06 13:02:31 +01:00
Mariusz Felisiak
f389e2c960 [3.0.x] Added missing backticks in various docs.
Backport of 30ca66eadd1135d220ae1f0570bb0244c26b9d29 from master
2020-03-06 11:53:35 +01:00
Carlton Gibson
1c1911dcd9 [3.0.x] Fixed #31342 -- Clarified docs about using base managers for related objects.
Backport of 08a6215d334f88f16707278e6003af59d13345b4 from master
2020-03-06 11:43:28 +01:00
Claude Paroz
e3069f6665 [3.0.x] Fixed #31341 -- Doc'd minimal gettext version with ES6 template strings support.
Backport of 2f53d324debee680658aed7f22f1aaf81385b1f2 from master
2020-03-05 13:49:17 +01:00
Mariusz Felisiak
91d97406da [3.0.x] Added stub release notes for 3.0.5.
Backport of 1b3a900a6919f9ffcfe22fae738e49b71e798ee0 from master
2020-03-04 10:57:08 +01:00
Mariusz Felisiak
88cfa212db [3.0.x] Fixed typo in docs/releases/1.11.29.txt.
Backport of 43f8ba1c7c0a264b67224c62b48fcd0dfdaddec3 from master
2020-03-04 10:48:59 +01:00
Mariusz Felisiak
8e196d9430 [3.0.x] Added CVE-2020-9402 to security archive.
Backport of f37f9a0bf061fd0dfe4e45adb39157c3307ec8e2 from master
2020-03-04 10:09:32 +01:00
Mariusz Felisiak
26a5cf8345 [3.0.x] Fixed CVE-2020-9402 -- Properly escaped tolerance parameter in GIS functions and aggregates on Oracle.
Thanks to Norbert Szetei for the report.
2020-03-04 09:16:03 +01:00
Mariusz Felisiak
c5cfaad2f1 [3.0.x] Fixed #31150 -- Included subqueries that reference related fields in GROUP BY clauses.
Thanks Johannes Hoppe for the report.

Regression in fb3f034f1c63160c0ff13c609acd01c18be12f80.

Co-authored-by: Simon Charette <charette.s@gmail.com>

Backport of 7b8fa1653fde578ab3a496d9974ab1d4261b8b26 from master
2020-03-03 11:26:36 +01:00
Adam Johnson
4977f2084e [3.0.x] Documented default value of InlineModelAdmin.extra.
Backport of 3bd29a8a973e2bb11b00666458344aeab5684a39 from master
2020-03-03 09:05:52 +01:00
Mariusz Felisiak
5320ba98f3 [3.0.x] Removed outdated note about not supporting partial indexes by Django.
Supported since a906c9898284a9aecb5f48bdc534e9c1273864a6.
Backport of a49c2b6bf098eb48c07641f60dba9be78c6cc92f from master
2020-02-29 20:36:16 +01:00
Simon Charette
16cacdcb3f [3.0.x] Fixed #31312 -- Properly ordered temporal subtraction params on MySQL.
Regression in 9bcbcd599abac91ea853b2fe10b784ba32df043e.

Thanks rick2ricks for the report.

Backport of 41ebe60728a15aa273f4d70de92f5246a89c3d4e from master
2020-02-27 09:20:30 +01:00
Andrey Doroschenko
59ac25c93b [3.0.x] Fixed #31313 -- Fixed is_upperclass() example in enumeration types docs.
Backport of f1016814d84b1423cfe0df85644c9870a6bc6b41 from master
2020-02-27 08:33:51 +01:00
Mariusz Felisiak
ae6c6f9110 [3.0.x] Removed hint from fields.E310 message in system check docs.
This is the only documented hint.
Backport of 667f784baab31f11d2469e5d22bbdc2390dbc030 from master
2020-02-26 12:01:32 +01:00
Matheus Cunha Motta
0193a1630e [3.0.x] Fixed #31303 -- Removed outdated note about symmetrical intermediate table for self-referential ManyToManyField.
Follow up to 87b1ad6e7351464c60e751b483d9dfce3a2d3382.

Backport of 0352a44dd61c19bebf0c0b305dbbc3f710ff9945 from master
2020-02-24 08:55:24 +01:00
Adam Johnson
80e6639e22 [3.0.x] Fixed #31182 -- Adjusted release notes for ASGI support.
Backport of a6b3938afc0204093b5356ade2be30b461a698c5 from master
2020-02-20 15:06:37 +01:00