Commit Graph

26836 Commits

Author SHA1 Message Date
Simon Charette f037ae11ec [2.2.x] Refs #26207 -- Removed obsolete note about slow constructing a model with deferred fields.
This is not true since 7f51876 removed the necessity of creating
proxy model classes at runtime for each deferred field sets.
Backport of 35396a7f24 from master
2019-10-14 12:53:32 +02:00
Mariusz Felisiak d2f02aa56b [2.2.x] Fixed #30870 -- Fixed showing that RunPython operations are irreversible by migrate --plan.
Thanks Hasan Ramezani for the initial patch and Kyle Dickerson for the
report.

Backport of 06d34aab7c from master.
2019-10-14 11:45:47 +02:00
René Fleschenberg d4d37d0900 [2.2.x] Clarified that SECURE_REDIRECT_EXEMPT patterns should not include leading slashes.
Backport of d232fd76a8 from master
2019-10-11 16:07:38 +02:00
Louise Grandjonc 323467e286 [2.2.x] Fixed #30826 -- Fixed crash of many JSONField lookups when one hand side is key transform.
Regression in 6c3dfba892.

Backport of 7d1bf29977 from master
2019-10-11 11:52:32 +02:00
Kees Hink 4f7ba25e67 [2.2.x] Fixed #27086 -- Doc'd fix for test suite hang on macOS.
Backport of 5d9cf79baf from master
2019-10-09 15:51:00 +02:00
Carlton Gibson c22945f4c7 [2.2.x] Added note to check Python version in unit tests troubleshooting section.
At DjangoCon US 2019 sprints, a number of contributors hit problems with an outdated Python.

Backport of 06e087c3de from master
2019-10-09 15:50:52 +02:00
Carlton Gibson 67bfedd2ae [2.2.x] Corrected section indentation in unit tests contributor docs.
Backport of b39c39e82a from master
2019-10-09 15:50:47 +02:00
Mac Chapman 8c1b492e5f [2.2.x] Fixed #11097 -- Added note about parent link fields in formsets for multi-table inheritance models.
Backport of 0b7378db1f from master
2019-10-09 12:55:23 +02:00
Carlton Gibson 9763ed7a66 [2.2.x] Fixed #30858 -- Clarified that AdminEmailHandler processes all 5xx responses.
Backport of 94eae4e563 from master
2019-10-09 10:17:03 +02:00
Caio Ariede 5e91adc79d [2.2.x] Fixed #28790 -- Doc'd how to avoid running certain test classes in parallel.
Backport of dafdfd6a60 from master
2019-10-08 12:34:02 +02:00
Caio Ariede 46a05e10a4 [2.2.x] Fixed #28273 -- Doc'd fast nullable column creation with defaults.
Backport of 06909fe084 from master
2019-10-07 14:37:39 +02:00
Tamer Sherif 98573cfe48 [2.2.x] Refs #10348 -- Doc'd that ModelAdmin ignores list_select_related when QuerySet.select_related() was already called.
Backport of e3f647f4d5 from master
2019-10-07 11:11:15 +02:00
Katie McLaughlin 146086f219 [2.2.x] Fixed #30834 -- Added explicit list of supported databases to the databases docs.
Backport of 9dca904a5b from master
2019-10-03 19:49:32 +02:00
Mar Sánchez f5f4c28bfc [2.2.x] Refs #15396 -- Mentioned full path to GZipMiddleware in documentation.
Backport of f1d4a540b2 from master
2019-10-02 14:59:14 +02:00
Katherine Michel 8ac918a913 [2.2.x] Refs #30010 -- Doc'd running tests with django-docker-box.
Backport of f7eb9fb676 from master
2019-10-02 14:02:17 +02:00
Carlton Gibson 09013aae13 [2.2.x] Refs #28699 -- Clarified CSRF middleware ordering in relation to RemoteUserMiddleware.
Backport of 9446950470 from master
2019-10-02 13:12:00 +02:00
Sjbrgsn da31472abf [2.2.x] Fixed #30817 -- Clarified return value of Sitemap.items().
Backport of 7b3c06cd72 from master
2019-10-02 12:20:04 +02:00
Mariusz Felisiak 18df8484bd [2.2.x] Added stub release notes for 1.11.26 and 2.1.14.
Backport of 84322a29ce from master
2019-10-02 07:56:02 +02:00
Carlton Gibson c3302c7976 [2.2.x] Added stub release notes for 2.2.7.
Backport of e1c1eaf0c6 from master
2019-10-01 10:45:07 +02:00
Carlton Gibson a00d823951 [2.2.x] Post-release version bump. 2019-10-01 10:36:02 +02:00
Carlton Gibson b0654fd6fa [2.2.x] Bumped version for 2.2.6 release. 2019-10-01 10:27:56 +02:00
Carlton Gibson e1a75db7d1 [2.2.x] Added release dates for 2.2.6, 2.1.13, and 1.11.25.
Backport of 3826aed46d from master
2019-10-01 08:51:15 +02:00
David Vaz 43c894ffe7 [2.2.x] Doc'd that migrate commmand accepts a unique migration name prefix.
Backport of e02f67ef2d from master
2019-09-30 09:47:55 +02:00
David Vaz 4116b369b1 [2.2.x] Fixed #30597 -- Clarified how to unapply migrations.
Backport of 45554fd5c5 from master
2019-09-27 22:41:16 +02:00
David Vaz 1ac2f25ec0 [2.2.x] Refs #30597 -- Added a warning about dependent apps when unapplying migrations.
Backport of abba563c86 from master
2019-09-27 20:09:58 +02:00
David Vaz a6972e8854 [2.2.x] Fixed #30216 -- Doc'd that BooleanField is no longer blank=True in Django 2.1. 2019-09-27 13:00:32 +02:00
Glenn b1eea8a73a [2.2.x] Fixed #27921 -- Clarified usage of make_aware() with is_dst argument.
Backport of c2678e4975 from master
2019-09-27 09:56:29 +02:00
Pablo García 38af257988 [2.2.x] Fixed #30810 -- Fixed WatchmanReloaderTests.test_setting_timeout_from_environment_variable test.
client_timeout is an instance attribute.

Backport of 2fd610eb30 from master
2019-09-27 08:36:48 +02:00
Adam Johnson 80d78fd651 [2.2.x] Documented admonition on when to use custom signals
Thanks Cesar Canassa for the suggestion and Aymeric Augustin for review.
Backport of 566fca14b3 from master
2019-09-25 10:40:49 +01:00
Mariusz Felisiak acc0d99e6c [2.2.x] Refs #30350 -- Doc'd support for range serialization in migrations.
Backport of bc46e386c7 from master
2019-09-24 13:56:06 +02:00
Ryan Nowakowski f314cebe82 [2.2.x] Updated the default cache key transformation in documentation.
Follow up to 6c69de80bd.
Backport of 3f141719a1 from master
2019-09-24 12:43:57 +02:00
Claude Paroz 29d2f5a662 [2.2.x] Refs #26601 -- Used new-style middlewares in documentation.
Backport of d71497bb24 from master
2019-09-24 09:59:41 +02:00
Jezeniel Zapanta 62a4a5062f [2.2.x] Fixed #30732 -- Doc'd that SameSite cookies flags can affect xframe_options_exempt.
Backport of e8ad265ac8 from master
2019-09-24 08:44:54 +02:00
Mariusz Felisiak ae2dee6ecf [2.2.x] Refs #29915 -- Doc'd limitation of using pattern lookups with UUIDField on PostgreSQL.
Backport of 343afa7880 from master
2019-09-23 08:47:01 +02:00
Carlton Gibson 268e7c7747 [2.2.x] Fixed #27462 -- Clarifed pk_set difference in m2m_changed signal receivers for add() and remove().
Thank you to Mariusz Felisiak for review.

Backport of bae05bcf68 from master
2019-09-19 11:41:32 +02:00
Katie McLaughlin 242805c82b [2.2.x] Fixed #30775 -- Added admonition about missing imports to "Running tests" section in tutorial 5.
Backport of 44077985f5 from master
2019-09-16 10:05:02 +02:00
Simon Charette 7806e45454 [2.2.x] Fixed #30769 -- Fixed a crash when filtering against a subquery JSON/HStoreField annotation.
This was a regression introduced by 7deeabc7c7
to address CVE-2019-14234.

Thanks Tim Kleinschmidt for the report and Mariusz for the tests.

Backport of 6c3dfba892 from master
2019-09-16 08:53:31 +02:00
Mariusz Felisiak e4fb132f43 [2.2.x] Added stub release notes for 1.11.25 and 2.1.13.
Backport of bd7e0f81f8 from master
2019-09-16 07:43:49 +02:00
Claude Paroz f452d4232e [2.2.x] Fixed #29823 -- Doc'd limitation of DecimalField on SQLite.
Backport of b8dff52f44 from master
2019-09-14 17:25:33 +02:00
Ben Falk 1864d61d6c [2.2.x] Fixed typos in docs/ref/settings.txt.
Backport of 4056558a1c from master.
2019-09-13 20:38:44 +02:00
Simon Charette 964dd4f4f2 [2.2.x] Fixed #30754 -- Prevented inclusion of aliases in partial index conditions.
SQLite doesn't repoint table aliases in partial index conditions on table
rename which breaks the documented table alteration procedure.

Thanks Pēteris Caune for the report.

Backport of 34decdebf1 from master
2019-09-10 10:04:12 +02:00
Nick Pope be053c0b2a [2.2.x] Standardized links for headers in security middleware documentation.
Backport of fc62e16291 from master
2019-09-09 13:42:31 +02:00
Katie McLaughlin 1f304ebdc6 [2.2.x] Fixed #30767 -- Improved references to deployment documentation.
* Increased tocdepth to expose more complexity of topics.
* Ensured deployment checklist is linked on main doc page.

Backport of fee75d2aed from master.
2019-09-09 10:06:58 +02:00
Mariusz Felisiak fe33dd67fb [2.2.x] Fixed typo in docs/internals/contributing/writing-documentation.txt.
Backport of 053ff7e9e6 from master
2019-09-05 14:09:02 +02:00
Carlton Gibson dee22a024b [2.2.x] Refs #30573 -- Noted to avoid "simple" & co. in Writing Style guide.
Co-authored-by: Tobias Kunze <r@rixx.de>

Backport of ed2d411aa8 from master
2019-09-05 10:15:19 +02:00
Min ho Kim 23946bdb06 [2.2.x] Changed example git clone URLs to use HTTPS.
Backport of 3c6a4fdb6d from master
2019-09-04 08:12:36 +02:00
Mariusz Felisiak b71cabe459 [2.2.x] Added stub release notes for 2.2.6.
Backport of 0d4529d314 from master
2019-09-04 08:06:12 +02:00
Mariusz Felisiak 96f1d82401 [2.2.x] Post-release version bump. 2019-09-02 09:04:02 +02:00
Mariusz Felisiak ce97960e34 [2.2.x] Bumped version for 2.2.5 release. 2019-09-02 08:21:38 +02:00
Mariusz Felisiak 8514c6f329 [2.2.x] Updated man page for Django 2.2. 2019-09-02 08:00:01 +02:00