Commit Graph

27512 Commits

Author SHA1 Message Date
Mariusz Felisiak a36974395e [3.0.x] Bumped version for 3.0.2 release. 2020-01-02 08:02:19 +01:00
Mariusz Felisiak 5738364fd6 [3.0.x] Added release date for 3.0.2.
Backport of 434a81d320 from master
2020-01-02 07:57:28 +01:00
Mariusz Felisiak e2b72f85c2 [3.0.x] Fixed typo in ref/forms/widgets.txt.
Backport of ef1286e3e3 from master
2020-01-02 07:47:11 +01:00
Gabriel Augendre 8e432718b8 [3.0.x] Fixed #30780 -- Improved visibility of Getting Help FAQ in tutorials.
Backport of 307c63f9a7 from master
2019-12-31 09:26:13 +01:00
Gabriel Augendre 00b436adf4 [3.0.x] Refs #30780 -- Moved "First steps" section to the top of index page.
Backport of c07b4bce2c from master
2019-12-31 09:26:07 +01:00
Mads Jensen 222b56474d [3.0.x] Added guidelines for assertIs() usage.
Backport of ea44d86ed4 from master
2019-12-30 13:04:07 +01:00
Simon Charette a04e6fb355 [3.0.x] Refs #29260 -- Doc'd Model.save() behavior change in Django 3.0.
Backport of 9e14bc2135 from master
2019-12-30 08:30:49 +01:00
Simon Charette 7db4ab8439 [3.0.x] Fixed #31071 -- Disabled insert optimization for primary keys with defaults when loading fixtures.
Model.save_base() is called directly when loading fixtures and assumes
existing rows will be updated. Branching of "raw" allows to maintain
the optimization introduced in #29260 while supporting this edge case.

Regression in 85458e94e3.

Thanks Reupen Shah for the report.

Backport of 5779cc938a from master
2019-12-30 08:30:44 +01:00
Mariusz Felisiak 0f8041abd5 [3.0.x] Fixed #31106 -- Fixed migrations crash on PostgreSQL 10+ when adding FK constraints inline and changing data.
This allows adding foreign key constraints inline and changing data in
the same migration on PostgreSQL 10+.

Regression in 738faf9da2.

Thanks Janne Rönkkö for the report and Simon Charette for the
implementation idea and review.
Backport of 22ce5d0031 from master
2019-12-23 23:30:30 +01:00
Jon Dufresne eb40426259 [3.0.x] Removed unnecessary code-block directives in various docs.
Backport of 5e00bd1f77 from master
2019-12-23 14:48:16 +01:00
Mariusz Felisiak 1e45b06cfd [3.0.x] Refs #31115 -- Added test for nested subquery that references related fields.
Thanks Dmitriy Gunchenko for the report and Simon Charette for the
analysis and tests.

Regression in 5a4d7285bd.

Fixed in 5a4d7285bd.
Backport of 45bcc6feac from master
2019-12-23 12:18:52 +01:00
Simon Charette 7b065c41e4 [3.0.x] Fixed #31109 -- Disabled grouping by aliases on QuerySet.exists().
Clearing the SELECT clause in Query.has_results was orphaning GROUP BY
references to it.

Thanks Thierry Bastian for the report and Baptiste Mispelon for the
bisect.

Regression in fb3f034f1c.

Backport of 720de4d044 from master
2019-12-23 09:24:37 +01:00
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
Mariusz Felisiak afaf5b1f58 [3.0.x] Post-release version bump. 2019-12-18 09:27:32 +01:00
Mariusz Felisiak 03d64f1d9c [3.0.x] Bumped version for 3.0.1 release. 2019-12-18 09:21:54 +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
Peter Andersen 74e1454113 [3.0.x] Fixed #31073 -- Prevented CheckboxInput.get_context() from mutating attrs.
Backport of 02eff7ef60 from master
2019-12-11 09:37:34 +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 3c370c1562 [3.0.x] Post-release version bump. 2019-12-02 12:06:12 +01:00
Carlton Gibson d36413a2eb [3.0.x] Bumped version for 3.0 release. 2019-12-02 12:00: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