Commit graph

11527 commits

Author SHA1 Message Date
Hasan Ramezani
a6cc8b80cb [3.0.x] Fixed #31400 -- Doc'd the expected type of CONN_MAX_AGE database option.
Backport of bec4dea844 from master
2020-03-27 07:02:09 +01:00
Adam Johnson
f4ee1ba74d [3.0.x] Rewrote Get Help FAQ.
Backport of 6ef4c8aa9f 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
df41b5a05d.
Regression in a0916d7212.

Backport of 8f2a6c76d1 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 f344c75fb0 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 b15b3706fe 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 66b06822d0 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 fb3f034f1c.

Thanks Holovashchenko Vadym for the report.

Backport of 10866a10fe 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 f1db2ca732 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 1628b35b58 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 291539a85c 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 6929f13254 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 f622b49010 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 fc84848cd9 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 f75af5b67b 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 65c13f9675.
Backport of 7075d27b0c 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 df41b5a05d.
Backport of a0916d7212 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 40a64dd1e2 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 e3e48b0012 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 a4200e958d 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 a9ee6872bd 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 a2f554249e 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 b22415214a.
Backport of 5e17301f38 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 a97845a823.
Backport of 5da627a58f from master
2020-03-10 08:54:04 +01:00
Борис Верховский
2928587694 [3.0.x] Corrected get_cache_key() signature in docs.
Follow up to b22415214a and
cb17f7ca22
Backport of d82d2d49d6 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 370628673b 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 8c1b073b59 from master
2020-03-06 13:02:31 +01:00
Mariusz Felisiak
f389e2c960 [3.0.x] Added missing backticks in various docs.
Backport of 30ca66eadd 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 08a6215d33 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 2f53d324de 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 1b3a900a69 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 43f8ba1c7c 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 f37f9a0bf0 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 fb3f034f1c.

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

Backport of 7b8fa1653f from master
2020-03-03 11:26:36 +01:00
Adam Johnson
4977f2084e [3.0.x] Documented default value of InlineModelAdmin.extra.
Backport of 3bd29a8a97 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 a906c98982.
Backport of a49c2b6bf0 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 9bcbcd599a.

Thanks rick2ricks for the report.

Backport of 41ebe60728 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 f1016814d8 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 667f784baa 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 87b1ad6e73.

Backport of 0352a44dd6 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 a6b3938afc from master
2020-02-20 15:06:37 +01:00
Hasan Ramezani
a73489f162 [3.0.x] Fixed #30040 -- Used default permission name in docs examples to avoid confusion.
Backport of b7795d7673 from master
2020-02-19 15:46:45 +01:00
Carlton Gibson
611d1c1148 [3.0.x] Fixed #31282 -- Corrected RelatedManager docs for using add/remove/set with PKs.
Backport of 3bbf9a489a from master
2020-02-18 19:58:23 +01:00
Mariusz Felisiak
2448b3182c [3.0.x] Fixed #31271 -- Preserved ordering when unifying query parameters on Oracle.
This caused misplacing parameters in logged SQL queries.

Regression in 79065b55a7.

Thanks Hans Aarne Liblik for the report.
Backport of 2a038521c4 from master
2020-02-18 11:46:01 +01:00
Hasan Ramezani
bcf58e3e70 [3.0.x] Fixed #31270 -- Doc'd RedirectView.get_redirect_url() arguments.
Backport of 2ab97af352 from master
2020-02-14 10:33:20 +01:00
Takuya Noguchi
bbec01c152 [3.0.x] Fixed #31241 -- Clarified porting translations of the Django docs to docs.djangoproject.com.
Backport of c25a8c77d7 from master
2020-02-12 10:14:36 +01:00
Abhijeet Viswa
8faaaf4e71 [3.0.x] Fixed #31246 -- Fixed locking models in QuerySet.select_for_update(of=()) for related fields and parent link fields with multi-table inheritance.
Partly regression in 0107e3d105.

Backport of 1712a76b9d from master
2020-02-11 21:36:05 +01:00
Florian Apolloner
4e8d6a1baf [3.0.x] Fixed #31240 -- Properly closed FileResponse when wsgi.file_wrapper is used.
Thanks to Oskar Persson for the report.

Backport of 41a3b3d186 from master
2020-02-11 20:40:24 +01:00
Florian Apolloner
22c25bea54 [3.0.x] Reverted "Fixed #30565 -- Closed HttpResponse when wsgi.file_wrapper closes file-like object."
This reverts commit cce47ff65a.

Backport of 549445519c from master
2020-02-11 20:40:17 +01:00
Jon Dufresne
7540b7eb31 [3.0.x] Fixed #31253 -- Fixed data loss possibility when using caching from async code.
Case missed in a415ce70be.

Backport of e3f6e18513 from master
2020-02-11 10:12:53 +01:00