Commit Graph

27062 Commits

Author SHA1 Message Date
kola-er 22466f91dc [2.2.x] Fixed #30928 -- Clarified MySQL/MariaDB support of QuerySet.select_for_update() options.
Thanks Par Andersson for reporting the issue.

Backport of d94d7b113c from master
2019-11-05 14:56:45 +01:00
Alasdair Nicol 406fb336b7 [2.2.x] Refs #30923 -- Fixed an example of rendering templates in contrib.sites docs.
Backport of b991eefd3a from master
2019-11-05 12:42:51 +01:00
Mariusz Felisiak a7f90d9c02 [2.2.x] Refs #30947 -- Changed tuples to lists in model Meta options examples in docs.
Follow up to 97d3321e89.

Backport of e5cacb1f47 from master
2019-11-05 08:40:38 +01:00
Adam Johnson 24a0ce187a [2.2.x] Updated list of field types conversions in ModelForm docs.
Backport of 5a856669bf from master
2019-11-04 11:04:30 +01:00
Mariusz Felisiak a43f71e55f [2.2.x] Post-release version bump. 2019-11-04 09:02:41 +01:00
Mariusz Felisiak 27f2b4475d [2.2.x] Bumped version for 2.2.7 release. 2019-11-04 08:49:44 +01:00
Mariusz Felisiak 1cbf607009 [2.2.x] Updated man page for Django 2.2. 2019-11-04 08:44:55 +01:00
Mariusz Felisiak 6f26693cc8 [2.2.x] Added release dates for 2.2.7, 2.1.14, and 1.11.26.
Backport of 126cfefce2 from master
2019-11-04 08:26:38 +01:00
Carlton Gibson 785d1706c4 [2.2.x] Fixed #30931 -- Restored ability to override Model.get_FIELD_display().
Thanks Sergey Fedoseev for the implementation idea.

Regression in a68ea23101.

Backport of 2d38eb0ab9 from master
2019-11-04 08:17:50 +01:00
Gil Forcada Codinachs eb8a53c7c1 [2.2.x] Fixed typo in docs/ref/signals.txt.
Backport of 632d7bbd3d from master
2019-10-30 16:53:51 +01:00
Mariusz Felisiak 3ca4457af3 [2.2.x] Corrected error message in Many-to-many relationships docs.
Backport of a370dbd954 from master
2019-10-30 16:18:18 +01:00
André Ericson 972eef6b90 [2.2.x] Fixed #30927 -- Simplified an example of test for the deprecation warning with assertWarnsMessage().
Backport of 54a7b02112 from master
2019-10-30 13:53:22 +01:00
Ken Whitesell 9d15f1ead9 [2.2.x] Fixed #30917 -- Clarified formsets topic documentation.
Backport of 4c762588ff from master
2019-10-30 09:01:36 +01:00
Hasan Ramezani 4cc1549b6e [2.2.x] Fixed #13750 -- Clarified need to reopen models.ImageField.image file to access raw image data.
Backport of f57e174fa6 from master
2019-10-29 16:10:37 +01:00
Mariusz Felisiak 4d992bc7d1 [2.2.x] Fixed typo in docs/topics/files.txt.
Backport of bf7b3e2750 from master
2019-10-29 16:10:27 +01:00
Adam Johnson 4c0979bba4 [2.2.x] Documented the order in which signal receivers are called.
Backport of ab0fd3f58f from master
2019-10-28 13:32:09 +01:00
Mariusz Felisiak 48df40262b [2.2.x] Refs #30908 -- Fixed the empty value of forms.FilePathField in docs.
Backport of daa9415f78 from master
2019-10-25 11:23:23 +02:00
Saad fb77d53ffe [2.2.x] Fixed #30904 -- Doc'd caveat about using filtered queryset with select_for_update() on MySQL.
Backport of fc2b1cc926 from master
2019-10-25 09:00:40 +02:00
Hasan Ramezani 9d627bf9b2 [2.2.x] Fixed #30906 -- Fixed an example of using the template system to generate CSV.
Backport of 05c3ef26a2 from master
2019-10-25 08:12:40 +02:00
Hannes Ljungberg 7fe09e6d41 [2.2.x] Fixed #30903 -- Fixed migrations crash on PostgreSQL when adding Index with opclasses and ordering.
Backport of fa5f3291e7 from master
2019-10-24 09:53:33 +02:00
Mariusz Felisiak c7f4a7da0d [2.2.x] Added tblib to the list of test suite dependencies in documentation.
Backport of 2a54ce72f9 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 6c23b43655 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 440603a4bc 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 adfd920cc5 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 dee687e93a 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 90abdba086 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 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