Commit Graph

27779 Commits

Author SHA1 Message Date
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
Mariusz Felisiak 94e192a580 [3.0.x] Refs #31312 -- Fixed FTimeDeltaTests.test_date_case_subtraction() test.
Follow up to 16cacdcb3f.
2020-02-27 20:18:53 +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
Mariusz Felisiak dc0dfd1dac [3.0.x] Added stub release notes for 2.2.11.
Backport of 7e8339748c 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 932bd794b2 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 de1924e0e7 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 6f9ecc23f6 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 1a09708dcb 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 273918c25b from master
2020-02-03 10:24:15 +01:00
Carlton Gibson 5d18016a07 [3.0.x] Added CVE-2020-7471 to security archive.
Backport of d8b2ccbbb8 from master
2020-02-03 10:13:00 +01:00
Carlton Gibson 9e27650e6a [3.0.x] Post-release version bump. 2020-02-03 09:58:56 +01:00
Carlton Gibson c459a4661b [3.0.x] Bumped version for 3.0.3 release. 2020-02-03 09:51:00 +01:00
Carlton Gibson af1999dd33 [3.0.x] Added release date for 3.0.3.
Backport of 1a2600d8df from master
2020-02-03 08:53:28 +01:00
Simon Charette 505826b469 [3.0.x] Fixed CVE-2020-7471 -- Properly escaped StringAgg(delimiter) parameter. 2020-02-03 08:32:54 +01:00
Mariusz Felisiak 673444da5e [3.0.x] Fixed #31217 -- Made QuerySet.values()/values_list() group by not selected annotations with aggregations used in order_by().
Regression in 59b4e99dd0.

Thanks Jon Dufresne for the report and Simon Charette for the review.
Backport of 6b178a3e93 from master
2020-02-03 07:48:53 +01:00
Claude Paroz ca4f87027e [3.0.x] Updated translations from Transifex 2020-01-31 20:01:27 +01:00
Abhijeet 7d48a4b703 [3.0.x] Fixed #31126 -- Doc'd STATICFILES_DIRS namespacing in static files how-to.
Backport of a45c8d7ad0 from master
2020-01-29 10:36:52 +01:00
Mariusz Felisiak b0207ac674 [3.0.x] Updated the GeoJSON format specification link to RFC 7946.
Backport of 5978de2ec0 from master
2020-01-29 09:35:51 +01:00
Mariusz Felisiak 27e4ebc0ba [3.0.x] Refs #25778 -- Updated some links to HTTPS and new locations.
Backport of 0ac8ac8b0d from master
2020-01-29 09:35:45 +01:00
Jon Dufresne 21cc097403 [3.0.x] Fixed #31212 -- Updated psycopg links to HTTPS and new location.
Backport of 958977f662 from master
2020-01-29 06:53:43 +01:00
Jon Dufresne d346f075d0 [3.0.x] Refs #25778 -- Updated sphinx-doc.org links to HTTPS.
Backport of 32166a9f7c from master.
2020-01-29 06:06:23 +01:00
Roy Smith 27739ad3f2 [3.0.x] Fixed #31184 -- Clarified URL matching behavior in URL dispatcher docs.
Backport of cf493e5c81 from master
2020-01-24 12:22:51 +01:00
Adam Johnson ef22cf41af [3.0.x] Clarified AppConfig.ready() docs example.
Backport of 971a84d6af from master
2020-01-22 13:52:23 +01:00
Eugene Hatsko a56e45a2bf [3.0.x] Fixed #31190 -- Fixed prefetch_related() crash for GenericForeignKey with custom ContentType foreign key.
Regression in dffa3e1992.

Backport of 0b013564ef from master
2020-01-22 08:25:23 +01:00
Sergey Fedoseev d7e4d6463c [3.0.x] Fixed #31195 -- Relaxed GeometryDistance test for PROJ 5.2+.
Backport of 31e2ab345b from master
2020-01-21 22:51:45 +01:00
Adam Johnson a062d432a3 [3.0.x] Made examples concrete in upgrade documentation.
Backport of e4bc4f26b2 from master
2020-01-21 13:03:00 +01:00
Claude Paroz 789de6050a [3.0.x] Added missing backtick in instances docs.
Backport of c7b97ac3a7 from master
2020-01-17 20:27:48 +01:00
Adam Johnson 3c05ab295d [3.0.x] Added note about incomplete HTML in tutorial 3.
Backport of 26be53dd89 from master
2020-01-17 15:48:42 +01:00
Takayuki Hirayama f0e1a69c99 [3.0.x] Fixed #31171 -- Fixed wording in auto-escaping section of custom template tags docs.
Backport of 73563183c2 from master
2020-01-17 09:22:37 +01:00
Mariusz Felisiak 5b6778b8b9 [3.0.x] Refs #31097 -- Added django.db.models.Q import to contrib.postgres aggregates tests. 2020-01-17 09:13:11 +01:00
Anael Mobilia 69c6891140 [3.0.x] Added apps.py to project from tutorials in reusable apps docs.
Backport of a5a28de89d from master
2020-01-16 14:52:09 +01:00
Carlton Gibson d74f383e9b [3.0.x] Clarified backport policy for regressions.
Backport of 7400da49a5 from master
2020-01-15 15:53:33 +01:00
Carlton Gibson 57468eaff3 [3.0.x] Fixed #31124 -- Fixed setting of get_FOO_display() when overriding inherited choices.
Regression in 2d38eb0ab9

Backport of 29c126bb34 from master
2020-01-15 15:36:28 +01:00
Mariusz Felisiak 8712027b22 [3.0.x] Refs #29998 -- Corrected auto-created OneToOneField parent_link in MTI docs.
Backport of d202846ced from master
2020-01-15 15:07:52 +01:00
Mariusz Felisiak a24686987f [3.0.x] Refs #31136 -- Made QuerySet.values()/values_list() group only by selected annotation.
Regression in 0f843fdd5b.
Backport of 59b4e99dd0 from master
2020-01-15 09:33:36 +01:00