Commit Graph

27521 Commits

Author SHA1 Message Date
Jon Dufresne bca2ffd3c2 [3.0.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:16:52 +01:00
Carlton Gibson 48631a1afd [3.0.x] Doc'd archiving historical branches as git tags.
Backport of a32f983be8 from master
2019-11-08 12:11:18 +01:00
Shipeng Feng 59578ebaa0 [3.0.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:43:20 +01:00
René Fleschenberg 87a10c3d6e [3.0.x] Replaced 'n_' prefix with 'number_of_' in docs/topics/db/queries.txt.
Backport of 367634f976 from master
2019-11-07 09:41:01 +01:00
Farhaan Bukhsh 64b01e38f9 [3.0.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:34:38 +01:00
Daniel Fairhead 1922119252 [3.0.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:15 +01:00
Dan Swain 5da7cbe3f6 [3.0.x] Documented arguments for custom 500 error view.
Backport of 422b875c65 from master
2019-11-06 09:27:23 +01:00
Stephen Rauch 76d293f3e6 [3.0.x] Refs #30183 -- Doc'd dropping support for sqlparse < 0.2.2.
Support for sqlparse < 0.2.2 was broken in
782d85b6df because is_whitespace property
was added in sqlparse 0.2.2.

Backport of 4b6db766ba from master
2019-11-06 09:01:48 +01:00
Jon Dufresne b75a268c07 [3.0.x] Added a link to the file email backend from EMAIL_FILE_PATH setting.
Backport of c8debd5061 from master
2019-11-06 08:38:17 +01:00
Jon Dufresne 85cddb6abb [3.0.x] Fixed #30944 -- Changed reusable apps docs to use a declarative config.
Backport of 89368ab6e3 from master
2019-11-05 15:01:42 +01:00
kola-er a5b4a909f0 [3.0.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:52:31 +01:00
Alasdair Nicol 78fc05303a [3.0.x] Refs #30923 -- Fixed an example of rendering templates in contrib.sites docs.
Backport of b991eefd3a from master
2019-11-05 12:42:04 +01:00
Mariusz Felisiak 2cf5df1204 [3.0.x] Fixed DatabaseFeatures.has_select_for_update_nowait on MariaDB 10.3+.
Thanks Kola Erinoso for the report.
Backport of a20ea33ca6 from master
2019-11-05 10:19:23 +01:00
Mariusz Felisiak 2000ed5180 [3.0.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:17 +01:00
bedilbek 1761d598fd [3.0.x] Added Uzbek locale formats.
Backport of 09a00c60bd from master
2019-11-04 15:19:02 +01:00
Claude Paroz 48c263df29 [3.0.x] Added Uzbek language.
Backport of 6ccb1b68bc from master
2019-11-04 15:18:53 +01:00
Adam Johnson b40272f5ea [3.0.x] Updated list of field types conversions in ModelForm docs.
Backport of 5a856669bf from master
2019-11-04 11:03:58 +01:00
Mariusz Felisiak 810dd8ad8d [3.0.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:18 +01:00
Carlton Gibson dd2ca8b0ea [3.0.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:15:03 +01:00
Gil Forcada Codinachs 0644b73e85 [3.0.x] Fixed typo in docs/ref/signals.txt.
Backport of 632d7bbd3d from master
2019-10-30 16:53:10 +01:00
Mariusz Felisiak 453074bc1f [3.0.x] Corrected error message in Many-to-many relationships docs.
Backport of a370dbd954 from master
2019-10-30 16:17:54 +01:00
André Ericson 3c5f8313c2 [3.0.x] Fixed #30927 -- Simplified an example of test for the deprecation warning with assertWarnsMessage().
Backport of 54a7b02112 from master
2019-10-30 13:52:57 +01:00
Ken Whitesell 574f238582 [3.0.x] Fixed #30917 -- Clarified formsets topic documentation.
Backport of 4c762588ff from master
2019-10-30 09:01:14 +01:00
Hasan Ramezani 4037b4c2b5 [3.0.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:09:41 +01:00
Mariusz Felisiak e5d3f3b83c [3.0.x] Fixed typo in docs/topics/files.txt.
Backport of bf7b3e2750 from master
2019-10-29 16:09:30 +01:00
Adam Johnson c5ccd20865 [3.0.x] Documented the order in which signal receivers are called.
Backport of ab0fd3f58f from master
2019-10-28 13:31:48 +01:00
Mariusz Felisiak 76964cce20 [3.0.x] Refs #30908 -- Fixed the empty value of forms.FilePathField in docs.
Backport of daa9415f78 from master
2019-10-25 11:22:59 +02:00
Carlton Gibson 8740ff334a [3.0.x] Fixed #30902 -- Added __str__() for model choice enums.
Allows expected behavior when cast to str, also matching behaviour of
created instances with those fetched from the DB.

Thanks to Simon Charette, Nick Pope, and Shai Berger for reviews.

Backport of dbcd7b064e from master
2019-10-25 09:38:41 +02:00
Saad 495cdd6add [3.0.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:20 +02:00
Hasan Ramezani 6df42e6187 [3.0.x] Fixed #30906 -- Fixed an example of using the template system to generate CSV.
Backport of 05c3ef26a2 from master
2019-10-25 08:12:15 +02:00
Bastien Vallet 2c397f35ed [3.0.x] Refs #29926 -- Added Python 3.8 to classifiers and tox.ini.
Backport of 37f02c47f8 from master
2019-10-24 13:09:56 +02:00
Carlton Gibson 06e3c6db86 [3.0.x] Fixed #30900 -- Skipped async-related tests on Windows using Python 3.8.0.
Refs https://bugs.python.org/issue38563.
Backport of e83c300a33 from master
2019-10-24 10:43:37 +02:00
Hannes Ljungberg 318d186d7e [3.0.x] Fixed #30903 -- Fixed migrations crash on PostgreSQL when adding Index with opclasses and ordering.
Backport of fa5f3291e7 from master
2019-10-24 09:51:33 +02:00
Mariusz Felisiak b3e8dafe06 [3.0.x] Added tblib to the list of test suite dependencies in documentation.
Backport of 2a54ce72f9 from master
2019-10-23 15:27:02 +02:00
Mariusz Felisiak 517d31516a [3.0.x] Refs #29926 -- Bumped minimum tblib version to 1.5.0 in test requirements.
Backport of 25903e41fb from master
2019-10-23 15:26:54 +02:00
Mariusz Felisiak 753a34b42a [3.0.x] Refs #29926 -- Skipped RemoteTestResultTest.test_add_failing_subtests() on Python 3.8+ and tblib <= 1.4.0.
Backport of 2847d2c760 from master
2019-10-22 15:34:44 +02:00
Antonio Dudarev 213a39b4df [3.0.x] Refs #13724 -- Corrected QuerySet signature in docs.
Backport of 6c23b43655 from master
2019-10-22 14:24:10 +02:00
Mariusz Felisiak 336c9cb7f4 [3.0.x] Fixed #30562 -- Doc'd MariaDB support for GIS spatial lookups.
Backport of 1c5ec221a4 from master
2019-10-16 16:34:47 +02:00
Mariusz Felisiak 8047961d7c [3.0.x] Refs #28436 -- Corrected docs regarding MySQL support of distance lookups.
Backport of 440603a4bc from master
2019-10-16 14:40:16 +02:00
Mariusz Felisiak 76e159e2c3 [3.0.x] Refs #22423 -- Corrected crosses lookup support on MySQL in documentation.
Support was added in 15715bf.
Backport of 5becb36a79 from master
2019-10-16 13:57:04 +02:00
Mariusz Felisiak 74c5ddc657 [3.0.x] Refs #27910 -- Added __init__.py file for model_enums tests.
Backport of 1877ec1875 from master
2019-10-15 21:28:17 +02:00
Carlton Gibson aba6fef430 [3.0.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:11 +02:00
Ad Timmering 18631226da [3.0.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:44 +02:00
Graham Healy 9adb80efee [3.0.x] Fixed #30808 -- Added the Django Forum to contributing index.
Backport of 90abdba086 from master
2019-10-15 09:08:08 +02:00
Simon Charette 8d196e6fea [3.0.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:03 +02:00
Mariusz Felisiak e17e19cfa4 [3.0.x] Bumped version for 3.0 beta 1. 2019-10-14 12:00:20 +02:00
Mariusz Felisiak bf8c562209 [3.0.x] Updated man page for Django 3.0 beta. 2019-10-14 11:55:27 +02:00
Mariusz Felisiak 4a756cbc38 [3.0.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:43:15 +02:00
Mariusz Felisiak 4a263af64e [3.0.x] Isolated migrations.test_commands.MigrateTests.test_migrate_plan.
Backport of 05186c03a3 from master
2019-10-14 11:43:06 +02:00
Simon Charette bab3ad54ff [3.0.x] Fixed #30868 -- Prevented unnecessary AlterField when renaming a referenced pk.
Regression introduced by dcdd219ee1, refs #25817.

Thanks Carlos E. C. Leite for the report and Mariusz for the bisect.

Backport of 2839659b42 from master
2019-10-14 08:27:36 +02:00