26892 Commits

Author SHA1 Message Date
Mariusz Felisiak
c7f4a7da0d [2.2.x] Added tblib to the list of test suite dependencies in documentation.
Backport of 2a54ce72f95977fefe796e99c7bbf6cd366927f9 from master
2019-10-23 15:28:02 +02:00
Antonio Dudarev
43bc59ceb6 [2.2.x] Refs #13724 -- Corrected QuerySet signature in docs.
Backport of 6c23b43655f3710cfb1ecc57236405d11a544247 from master
2019-10-22 14:24:46 +02:00
Mariusz Felisiak
aa28213eb5 [2.2.x] Refs #28436 -- Corrected docs regarding MySQL support of distance lookups.
Backport of 440603a4bc0dc4f0b489489e80dcbab0ca736d23 from master
2019-10-16 14:40:43 +02:00
Carlton Gibson
26ac7ae080 [2.2.x] Moved "Sign the CLA" to the bottom of New Contributor First Steps.
As discussed on the mailing list, step 1 of First Steps shouldn't be
"Find a printer".

https://groups.google.com/d/topic/django-developers/owOqFmxufgs/discussion
Backport of adfd920cc5f932b9cabc8061563088016a8dfe13 from master
2019-10-15 14:11:33 +02:00
Ad Timmering
5733504752 [2.2.x] Fixed #30816 -- Doc'd how to create projects with a local copy of Django.
Backport of dee687e93a2d45e9fac404be2098cc4707d31c1f from master
2019-10-15 12:54:56 +02:00
Graham Healy
4dc3192a36 [2.2.x] Fixed #30808 -- Added the Django Forum to contributing index.
Backport of 90abdba08657db397f1887b94ec1ebdc32783379 from master
2019-10-15 09:08:18 +02:00
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 35396a7f243eceec42cc90725ab573a7d9ac3b4c 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 06d34aab7cfb1632a1538a243db81f24498525ff 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 d232fd76a85870daf345fd8f8d617fe7802ae194 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 6c3dfba89215fc56fc27ef61829a6fff88be4abb.

Backport of 7d1bf29977bb368d7c28e7c6eb146db3b3009ae7 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 5d9cf79baf07fc4aed7ad1b06990532a65378155 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 06e087c3ded703b334a4d7c74a882212774253bc 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 b39c39e82ae12ca92686ee97a7be2958ee667e5c 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 0b7378db1fdd7bfc7b78089811b3abb722c4ba95 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 94eae4e5633fbf21f5dcae6e0472ce6a51dd3411 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 dafdfd6a60638c4edcca7c4e65d11c0af654d759 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 06909fe084f87a65459a83bd69d7cdbe4fce9a7c 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 e3f647f4d5fc414f8cb7ab58df5e61a19908c63f 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 9dca904a5bf37ee9ad015212b17a9929ab8952cd 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 f1d4a540b29c6766b988852bc302ac036a2d82e2 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 f7eb9fb676d7afba16fc577283610b359718e644 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 94469504706b494877b6bb45a979bcb81c7fd7be 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 7b3c06cd72e691ffd932ccce338701c37297a415 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 84322a29ce9b0940335f8ab3d60e55192bef1e50 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 e1c1eaf0c6f4d3d2f60513d20aa9b84b17d096ec 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. 2.2.6 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 3826aed46d7d4310c2ab6777a4f92165ca4d8d4f 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 e02f67ef2d03d48128e7a118bf75f0418e24e8ac 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 45554fd5c5c6a536db3ce70d78646d3dc398cf08 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 abba563c8635a52e8b657dee7708202e1f69433c 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 c2678e49759e5c4c329bff0eeca2886267005d21 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 2fd610eb301dc01e100befed891e8007fd2e981f 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 566fca14b3e1406f918898de5bb2b2382a44edaf 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 bc46e386c7aa496642d3ffc9e4f56ae5a46417a7 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 6c69de80bdcd2744bc64cb933c2d863dd5e74a33.
Backport of 3f141719a198983a41840e3c2ea542f87c92e4c1 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 d71497bb249a2c3ffec41e99089f5ae8e575f2d3 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 e8ad265ac882f8f118d2c4a7618bd3e3916fc13e 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 343afa788080fb874bcd10eab1a1a2fede98c526 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 bae05bcf68710cb6dafa51325c3ec83ddda83c39 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 44077985f58be02214a11ffde35776fed3c960e1 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 7deeabc7c7526786df6894429ce89a9c4b614086
to address CVE-2019-14234.

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

Backport of 6c3dfba89215fc56fc27ef61829a6fff88be4abb 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 bd7e0f81f8590eadcb820c976ba03c9b75bbcad6 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 b8dff52f440adfb78b40e19ee8bff45373ca2501 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 4056558a1c9cf650ab6e7cb1a319206d2e8c770f 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 34decdebf157b6f05836009cc1967f74ee541fdf 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 fc62e16291136513ac0d67d6a2c71e8674740435 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 fee75d2aed4e58ada6567c464cfd22e89dc65f4a 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 053ff7e9e65ce82bb7ee72bff3dcdb797e16dbb9 from master
2019-09-05 14:09:02 +02:00