Commit Graph

27037 Commits

Author SHA1 Message Date
Baptiste Mispelon ad56858e83 [2.2.x] Fixed #28469 -- Doc'd how to create a custom HttpResponse subclass.
Backport of 9f1ec9efc3 from master
2019-11-25 08:35:54 +01:00
Hasan Ramezani 8a8ea93b98 [2.2.x] Fixed #30625 -- Doc'd cache.get()/delete() behavior change in Django 2.2.
Backport of f69b32782e from master
2019-11-21 10:55:16 +01:00
Sergey Fedoseev 9c0fed53ed [2.2.x] Made versionadded/versionchanged annotations without a content end with ".".
Regression in d2afa5eb23.
Backport of 5032556483 from master
2019-11-21 09:04:08 +01:00
Caio Ariede 11e42001d9 [2.2.x] Fixed #27164 -- Fixed an example of using routers in multiple databases docs.
Make sure that AuthRouter includes ContentType in the same database.

Backport of 608e06023e from master
2019-11-20 11:51:59 +01:00
Mariusz Felisiak 4082f078bc [2.2.x] Added stub release notes for 2.1.15.
Backport of e9def97d10 from master
2019-11-19 12:45:04 +01:00
Hasan Ramezani c31252fc75 [2.2.x] Fixed #30999 -- Fixed typo in docs/howto/custom-template-tags.txt.
Backport of 33eecfa740 from master
2019-11-19 10:09:55 +01:00
Luke Plant da186625a0 [2.2.x] Expanded API stability docs to include our policy of continual improvement.
Backport of 5cef2cd4a1 from master
2019-11-18 21:40:22 +01:00
Baptiste Mispelon d5e8ad0049 [2.2.x] Fixed #30990 -- Fixed example output in 'z' date format docs.
Backport of 1185c6172b from master
2019-11-18 12:04:51 +01:00
Mariusz Felisiak 622158b371 [2.2.x] Refs #29926 -- Doc'd Python 3.8 compatibility in Django 2.2.x.
Backport of b93a0e34d9 from master.
2019-11-12 22:15:27 +01:00
Bastien Vallet cc3516dc4f [2.2.x] Refs #29926 -- Added Python 3.8 to classifiers and tox.ini.
Backport of 37f02c47f8 from master.
2019-11-12 21:49:09 +01:00
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 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