Commit Graph

11196 Commits

Author SHA1 Message Date
Mariusz Felisiak 8eda248dc9 [2.2.x] Refs #29926 -- Bumped minimum tblib version to 1.5.0 in test requirements.
Backport of 25903e41fb from master.
2019-11-12 21:49:09 +01:00
Mariusz Felisiak 90c730d963 [2.2.x] Added stub release notes for 2.2.8 release.
Backport of 30359496a3 from master
2019-11-12 14:42:34 +01:00
David Foster afde973061 [2.2.x] Fixed #30828 -- Added how to remove/insert many-to-many relations in bulk to the database optimization docs.
Backport of 6a04e69e68 from master
2019-11-12 13:13:49 +01:00
Mariusz Felisiak 612c2d166c [2.2.x] Fixed typo in docs/topics/files.txt.
Backport of 08c0d8b16b from master
2019-11-11 11:52:38 +01:00
Hasan Ramezani 6429d71ecb [2.2.x] Fixed #30252 -- Clarified need to reopen forms.fields.ImageField.image file to access raw image data.
Backport of 2282d9f2e5 from master
2019-11-11 11:49:26 +01:00
Farhaan Bukhsh f55f89f908 [2.2.x] Fixed #30958 -- Used a clearer example in the Cast() docs.
Backport of 4cb15450ad from master
2019-11-11 10:10:51 +01:00
Jon Dufresne 3627fc5ee6 [2.2.x] Refs #30948 -- Updated install instructions to use pip instead of setup.py.
Co-authored-by: Nick Pope <nick.pope@flightdataservices.com>

Backport of eee4da3b57 from master
2019-11-08 21:17:38 +01:00
Carlton Gibson a2305a0c0a [2.2.x] Doc'd archiving historical branches as git tags.
Backport of a32f983be8 from master
2019-11-08 12:11:53 +01:00
Shipeng Feng 5ad97e53fd [2.2.x] Fixed #30955 -- Doc'd that only concrete base models are stored in historical models bases.
Abstract models are removed from bases when generating historical model
state since 6436f1fad9.

Backport of 8058d9d7ad from master.
2019-11-08 09:44:58 +01:00
René Fleschenberg a39db53e0c [2.2.x] Replaced 'n_' prefix with 'number_of_' in docs/topics/db/queries.txt.
Backport of 367634f976 from master
2019-11-07 09:41:27 +01:00
Farhaan Bukhsh 398a9f4209 [2.2.x] Fixed #30865 -- Doc'd that not all DATABASES['OPTIONS'] are passed to command-line client.
Backport of cc5622ec8c from master
2019-11-07 08:35:36 +01:00
Daniel Fairhead 7a13f06f36 [2.2.x] Fixed #15742 -- Fixed an example of collecting selected objects in ModelAdmin.actions docs.
The queryset argument is already filtered, and request.POST doesn't
contain all selected objects when "Select All" is used.

Backport of e651b3095c from master
2019-11-06 13:41:36 +01:00
Dan Swain 8b14545d36 [2.2.x] Documented arguments for custom 500 error view.
Backport of 422b875c65 from master
2019-11-06 09:27:45 +01:00
Jon Dufresne 9f81af4be4 [2.2.x] Added a link to the file email backend from EMAIL_FILE_PATH setting.
Backport of c8debd5061 from master
2019-11-06 08:39:09 +01:00
Jon Dufresne 4325239e2d [2.2.x] Fixed #30944 -- Changed reusable apps docs to use a declarative config.
Backport of 89368ab6e3 from master.
2019-11-05 15:05:37 +01:00
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 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