Commit graph

11479 commits

Author SHA1 Message Date
Taoup
b1a309f6f0 [3.0.x] Fixed #31110 -- Fixed typo in docs/ref/models/expressions.txt.
Backport of cebd41e416 from master
2019-12-21 20:34:30 +01:00
Katie McLaughlin
407eeff9de [3.0.x] Refs #30767 -- Improved deployment documentation.
Backport of abeb4599af from master
2019-12-20 11:34:00 +01:00
Garry Polley
77722711df [3.0.x] Added example of assertNumQueries() with "using" kwarg in testing topics docs.
Backport of 0b698eaea6 from master
2019-12-20 08:44:07 +01:00
Garry Polley
d2100340f3 [3.0.x] Removed outdated information from contrib.sites docs.
Backport of d216e67b0c from master
2019-12-20 08:44:01 +01:00
Nick Pope
08b426aedb [3.0.x] Refs #28954 -- Remove remaining Jython documentation.
There is still no further progress on Jython 3 since support for Jython
was stripped in Django 2.0. The developers experimenting with Jython 3
have stated that they would need to start from scratch, so it doesn't
look as though it will materialize for years to come.

Python 2 and Django 1.11, the last version to support Python 2.7, will
both be end-of-life before Django 3.1 is released. We should no longer
instruct users to use an unsupported version of Django.

Backport of d8b6a76bc7 from master
2019-12-19 16:44:39 +01:00
Simon Charette
fd9050589f [3.0.x] Fixed #31094 -- Included columns referenced by subqueries in GROUP BY on aggregations.
Thanks Johannes Hoppe for the report.

Regression in fb3f034f1c.

Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>

Backport of 5a4d7285bd from master
2019-12-19 11:10:33 +01:00
Hasan Ramezani
fb260ad777 [3.0.x] Corrected some typos in documentation.
Backport of 70d95682b1 from master
2019-12-18 11:37:32 +01:00
Mariusz Felisiak
efd9302b14 [3.0.x] Added stub release notes for 3.0.2.
Backport of 50a69efb2e from master
2019-12-18 10:52:37 +01:00
Adam Johnson
a334ae5d1e [3.0.x] Updated Pytest example in upgrade documentation.
Pytest changed their recommended entrypoint to 'pytest' in version 3.0.0 in 2016 : https://docs.pytest.org/en/latest/changelog.html#id1009. Also link the name since this is the only reference in the Django documentation at current.
Backport of ef3baf966d from master
2019-12-18 10:43:36 +01:00
Mariusz Felisiak
f21c132cd4 [3.0.x] Added CVE-2019-19844 to the security archive.
Backport of 5a2b9f0b54 from master
2019-12-18 10:38:37 +01:00
Simon Charette
302a4ff1e8 [3.0.x] Fixed CVE-2019-19844 -- Used verified user email for password reset requests.
Backport of 5b1fbcef7a from master.

Co-Authored-By: Florian Apolloner <florian@apolloner.eu>
2019-12-18 09:14:44 +01:00
Osaetin Daniel
33d2cda672 [3.0.x] Doc'd HttpResponse.set_cookie()'s secure argument.
Backport of 14e690ae5a from master
2019-12-13 11:06:47 +01:00
Osaetin Daniel
3ab7de0182 [3.0.x] Refs #6657 -- Corrected HttpResponse.set_cookie()/set_signed_cookie() signatures in docs.
Backport of 15c5875e69 from master
2019-12-13 11:06:33 +01:00
Hasan Ramezani
6cb30414bc [3.0.x] Fixed #31069, Refs #26431 -- Doc'd RegexPattern behavior change in passing optional named groups in Django 3.0.
Backport of 9736137cdc from master
2019-12-12 14:49:13 +01:00
Hasan Ramezani
79c92fc7b6 [3.0.x] Fixed typos in 3.0 release notes and docs/ref/request-response.txt.
Backport of 52018e1615 from master
2019-12-12 10:19:38 +01:00
Mariusz Felisiak
f4baf2fdf6 [3.0.x] Refs #31073 -- Added release notes for 02eff7ef60.
Backport of ec12c37384 from master
2019-12-11 10:08:32 +01:00
Ali Mirlou
314cb3a976 [3.0.x] Fixed typo in docs/releases/3.0.1.txt.
Backport of 663bb435de from master
2019-12-09 07:58:33 +01:00
Alex Aktsipetrov
8af07712df [3.0.x] Fixed #31060 -- Reallowed window expressions to be used in conditions outside of queryset filters.
Regression in 4edad1ddf6.

Thanks utapyngo for the report.

Backport of bf12273db4 from master.
2019-12-06 15:28:23 +01:00
Mariusz Felisiak
e986e49e66 [3.0.x] Fixed #31061 -- Ignored positional args in django.urls.resolve() when all optional named parameters are missing.
Regression in 76b993a117.

Thanks Claude Paroz for the report and Carlton Gibson for reviews.
Backport of 82a88d2f48 from master
2019-12-06 09:33:45 +01:00
Mariusz Felisiak
6ede5a3cb7 [3.0.x] Fixed #31062 -- Doc'd asgi.py in tutorials and project templates.
Backport of 3930ec1bf2 from master
2019-12-05 08:40:19 +01:00
jsals1
7263c7710c [3.0.x] Fixed typo in docs/releases/3.0.txt.
Backport of 1f62c008d1 from master
2019-12-05 07:55:56 +01:00
Felipe Lee
87483757c8 [3.0.x] Fixed #20456 -- Added example of directly testing CBVs in topics docs.
Backport of a2e96f7969 from master
2019-12-04 16:41:46 +01:00
Uttam Kini
84936ac2c5 [3.0.x] Fixed #31024 -- Clarified {% firstof %} tag's handling of arguments.
Backport of d646e3d14f from master
2019-12-04 14:36:43 +01:00
Mariusz Felisiak
cc64b1d8f3 [3.0.x] Fixed #31059 -- Fixed typo in docs/releases/3.0.txt.
Backport of 95ae1a9f8c from master
2019-12-04 09:25:00 +01:00
Claude Paroz
e8f126aae1 [3.0.x] Removed leftover word in CBV mixins docs.
Backport of d83b585e5c from master
2019-12-04 09:15:35 +01:00
Hasan Ramezani
c8c0c0def7 [3.0.x] Fixed typo in internals/contributing/writing-documentation.txt.
Backport of b1d39131eb from master
2019-12-03 21:04:23 +01:00
Andrew Godwin
9243435b5e [3.0.x] Fixed #31056 -- Allowed disabling async-unsafe check with an environment variable.
Backport of c90ab30fa1 from master
2019-12-03 17:50:24 +01:00
Andrew Godwin
45de0c299b [3.0.x] Refs #30451 -- Doc'd asynchronous support and async-safety.
Backport of 635a3f8e6e from master
2019-12-03 17:50:18 +01:00
Claude Paroz
830a5bcf15 [stable/3.0.x] Fixed typo in topics docs
Backport of b92d101bd8 from master.
2019-12-03 16:51:45 +01:00
Mariusz Felisiak
7ec5962638 [3.0.x] Added stub release notes for 3.0.1.
Backport of 908c67e719 from master
2019-12-02 21:47:49 +01:00
Ryan Cheley
cd7f48e85e [3.0.x] Fixed #31006 -- Doc'd backslash escaping in date/time template filters.
Backport of a1f14ee3e5 from master
2019-12-02 13:54:37 +01:00
Carlton Gibson
f3da0836ff [3.0.x] Finalized release notes for Django 3.0.
Backport of 3b347a8a00 from master
2019-12-02 11:55:06 +01:00
Carlton Gibson
d13ba5502d [3.0.x] Added CVE-2019-19118 to the security archive.
Backport of 900ea762e5 from master
2019-12-02 11:42:52 +01:00
Carlton Gibson
5fca551f12 [3.0.x] Removed issue reporter name from 2.1.15 and 2.2.8 release notes.
Backport of 368b8d20aa from master
2019-12-02 09:48:14 +01:00
Carlton Gibson
46491e8095 [3.0.x] Added release dates for 2.1.15, 2.2.8 and 3.0.
Backport of e31d185267 from master
2019-12-02 09:11:31 +01:00
Carlton Gibson
092cd66cf3 Fixed CVE-2019-19118 -- Required edit permissions on parent model for editable inlines in admin.
Thank you to Shen Ying for reporting this issue.
2019-12-02 08:57:44 +01:00
Mariusz Felisiak
db0cc4ae96 [3.0.x] Refs #30953 -- Added 2.1.15 release note for 0107e3d105.
Backport of 39e39d0ac1 from master
2019-12-02 08:12:10 +01:00
Mariusz Felisiak
f4ed6800bd [3.0.x] Fixed #30953 -- Made select_for_update() lock queryset's model when using "self" with multi-table inheritance.
Thanks Abhijeet Viswa for the report and initial patch.
Backport of 0107e3d105 from master
2019-12-02 07:58:04 +01:00
Mariusz Felisiak
ca9144a4a8 [3.0.x] Fixed #31021 -- Fixed proxy model permissions data migration crash with a multiple databases setup.
Regression in 98296f86b3.

Backport of e8fcdaad5c from master
2019-11-29 11:10:36 +01:00
Baptiste Mispelon
81ddf4b164 [3.0.x] Fixed #31029 -- Used more specific links to RFCs.
Backport of ff1b19da67 from master
2019-11-28 07:59:46 +01:00
Baptiste Mispelon
c0fe08d470 [3.0.x] Refs #31029 -- Added note about :rfc: role in writing documentation docs.
Backport of 42df1b178b from master
2019-11-28 07:59:39 +01:00
Mariusz Felisiak
1decf29a3e [3.0.x] Fixed #31018 -- Removed django-nonrel in NoSQL databases FAQ.
Backport of a36f7ed6ac from master
2019-11-27 07:37:32 +01:00
Adam Johnson
0dd8c438aa [3.0.x] Improved custom MultiWidget example in docs.
Backport of 7742cc0c8f from master
2019-11-26 18:35:45 +01:00
Sergey Fedoseev
314ad45c09 [3.0.x] Used 🎫 role in all tickets links.
Backport of abc51d44af from master
2019-11-26 14:43:27 +01:00
Baptiste Mispelon
3ed55606c4 [3.0.x] Fixed #31031 -- Fixed data loss in admin changelist view when formset's prefix contains regex special chars.
Regression in b18650a263.

Backport of 52936eface from master
2019-11-26 09:19:19 +01:00
Sergey Fedoseev
b3ffa0d51d [3.0.x] Updated link to IBM DB2 backend.
See https://github.com/ibmdb/python-ibmdb/pull/375
Backport of 5573a54d40 from master
2019-11-25 21:00:13 +01:00
Baptiste Mispelon
641deb4d50 [3.0.x] Fixed #31025 -- Fixed highlightlinenothreshold deprecation warning on Sphinx 1.8+.
Backport of 89d41cba39 from master
2019-11-25 10:34:21 +01:00
Sergey Fedoseev
c332f89dc6 [3.0.x] Doc'd SpatiaLite support of 3D geometry fields.
Support was added in 65129aac07.

Backport of 85c5989007 from master
2019-11-25 09:31:33 +01:00
Baptiste Mispelon
76e0846c90 [3.0.x] Fixed #28469 -- Doc'd how to create a custom HttpResponse subclass.
Backport of 9f1ec9efc3 from master
2019-11-25 08:35:33 +01:00
Carlton Gibson
947f8e3485 [3.0.x] Fixed #31012 -- Reverted "Fixed #29056 -- Fixed HTML5 validation of required SelectDateWidget."
This reverts commit f038214d91.

The initial issue was incorrect. Django 2.2, and before, did not
generate invalid HTML as reported. With f03821 in place invalid HTML
was generated.

Thanks to Kevin Brown for follow-up report and investigation.
Backport of ee4a19053a from master
2019-11-21 21:06:07 +01:00