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
Hasan Ramezani
a73489f162
[3.0.x] Fixed #30040 -- Used default permission name in docs examples to avoid confusion.
...
Backport of b7795d7673f51daf288ac80616ef69b05918ca6b 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 3bbf9a489afc689eff2f4a0b84af196aa1ef51e7 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 79065b55a70cd220820a260a1c54851b7be0615a.
Thanks Hans Aarne Liblik for the report.
Backport of 2a038521c4eabdc5f6d5026d3dd6d22868e329cd 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 2ab97af3528352e8f3ea4aa725b863822442d5ed 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 c25a8c77d72b6d3a1942a699796224f4a2caf543 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 0107e3d1058f653f66032f7fd3a0bd61e96bf782.
Backport of 1712a76b9dfda1ef220395e62ea87079da8c9f6c 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 41a3b3d18647b258331104520e76f977406c590d 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 cce47ff65a4dd3786c049ec14ee889e128ca7de9.
Backport of 549445519ce90cc5c1e3f981853cc0c67725f3ed 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 a415ce70bef6d91036b00dd2c8544aed7aeeaaed.
Backport of e3f6e18513224c8ad081e5a19da641f49b0b43da from master
2020-02-11 10:12:53 +01:00
Mariusz Felisiak
dc0dfd1dac
[3.0.x] Added stub release notes for 2.2.11.
...
Backport of 7e8339748cc199b4a13513891d9ac4f1e4794588 from master
2020-02-10 08:24:00 +01:00
Mariusz Felisiak
5aaec00606
[3.0.x] Added "Bugfixes" section to release notes for 3.0.4.
...
Backport of 932bd794b29c24536b6277b61175bd11ca9be234 from master
2020-02-10 08:15:40 +01:00
Adam Johnson
9b36348665
[3.0.x] Improved grammar in 3.0 release notes for SECURE_CONTENT_TYPE_NOSNIFF change.
...
Backport of de1924e0e7499535f05298c46d9983fd1640d4b4 from master
2020-02-05 12:46:42 +01:00
Vibhu Agarwal
0bf1330fe4
[3.0.x] Fixed #31226 -- Fixed typo in docs/internals/contributing/writing-code/submitting-patches.txt.
...
Backport of 6f9ecc23f676e7a6f25d1a6cf830fe638a1eb589 from master
2020-02-03 20:16:56 +01:00
Vibhu Agarwal
8ed5ac4eb4
[3.0.x] Fixed #31222 -- Fixed typo in docs/internals/contributing/bugs-and-features.txt.
...
Backport of 1a09708dcb2f60ad5ca0a75b8de9619356f74ff6 from master
2020-02-03 11:36:05 +01:00
Carlton Gibson
8aaa7a2960
[3.0.x] Added stub release notes for 3.0.4.
...
Backport of 273918c25b203d32a7922bc7c3610e4a089fe931 from master
2020-02-03 10:24:15 +01:00