Farhaan Bukhsh
64b01e38f9
[3.0.x] Fixed #30865 -- Doc'd that not all DATABASES['OPTIONS'] are passed to command-line client.
...
Backport of cc5622ec8c260535c63279cf6eb293f2b5a742f0 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 e651b3095c950627b1eed1527f2bb011ddad03de 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 422b875c6586a6548c6bf34a0851ae82198a8818 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
782d85b6dfa191e67c0f1d572641d8236c79174c because is_whitespace property
was added in sqlparse 0.2.2.
Backport of 4b6db766ba4b613d317c87f87d1d63865b7424a4 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 c8debd50617142937191986aec77a5eee472c28e 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 89368ab6e358ebe29a0417d65209182238daa245 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 d94d7b113c21d7a0fd802fadb1adbbec8155e880 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 b991eefd3a9fa4da4eb46fddcb36cf1e8b5862e9 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 a20ea33ca66bafd38bfce1a73221384b8aa37170 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 97d3321e89c8d4434927bdbc308db1ccffa99d3b.
Backport of e5cacb1f47cb3a2943bbc7685a630c84503b0d1b from master
2019-11-05 08:40:17 +01:00
bedilbek
1761d598fd
[3.0.x] Added Uzbek locale formats.
...
Backport of 09a00c60bddc0d811bfcdd054c706ea41243aeb5 from master
2019-11-04 15:19:02 +01:00
Claude Paroz
48c263df29
[3.0.x] Added Uzbek language.
...
Backport of 6ccb1b68bc22e4edc1562f0159e71631d6a256d9 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 5a856669bf0574f612eea89e72a6b0a3d2cb80d9 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 126cfefce2b59900138f2bf1ef6ad966cddc55d4 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 a68ea231012434b522ce45c513d84add516afa60.
Backport of 2d38eb0ab9f78d68c083a5b78b1eca39027b279a 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 632d7bbd3dff1614cf7936dae733278149930f5b 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 a370dbd9543703677697e80701b5dbec8c8e7da7 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 54a7b021125d23a248e70ba17bf8b10bc8619234 from master
2019-10-30 13:52:57 +01:00
Ken Whitesell
574f238582
[3.0.x] Fixed #30917 -- Clarified formsets topic documentation.
...
Backport of 4c762588ff6748a9a9bad111894fd418c43b74a9 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 f57e174fa61e4c31213f6d0033fb9d647b463626 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 bf7b3e2750e3392d112b34e076ee1a77c8adbe77 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 ab0fd3f58f751859cc7c5260decf0acca26513bf 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 daa9415f78279855808134e1f40766f6c5f4bdbc 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 dbcd7b064e7278614f29fc45468d461e263d4da7 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 fc2b1cc926e34041953738e58fa6ad3053059b22 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 05c3ef26a203de1bc227e31b88999ff2e3b11abf 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 37f02c47f8eb4d6e7b3c22401dba57b00780dc5d 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 e83c300a3312995d46315616f4361dfa110c741b 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 fa5f3291e7f2611d53e64ab481ebe951b0161791 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 2a54ce72f95977fefe796e99c7bbf6cd366927f9 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 25903e41fb45ce9cc80dc93bf4b51ea431dcb2b6 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 2847d2c760438195c4c71ea9d3fded1ce116ea4e 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 6c23b43655f3710cfb1ecc57236405d11a544247 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 1c5ec221a44fc9ce1585fc1f94830957df4322e7 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 440603a4bc0dc4f0b489489e80dcbab0ca736d23 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 5becb36a79a0c31c7cc9e76237239ebd0fdda18d 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 1877ec18753947795b7821f8b9176bd7ea7c03a3 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 adfd920cc5f932b9cabc8061563088016a8dfe13 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 dee687e93a2d45e9fac404be2098cc4707d31c1f 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 90abdba08657db397f1887b94ec1ebdc32783379 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 35396a7f243eceec42cc90725ab573a7d9ac3b4c from master
2019-10-14 12:53:03 +02:00
Mariusz Felisiak
e17e19cfa4
[3.0.x] Bumped version for 3.0 beta 1.
3.0b1
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 06d34aab7cfb1632a1538a243db81f24498525ff 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 05186c03a30686f4898c1cb9acf4b8613035afcc 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 2839659b42ef80038152768b6cedae1016c59d90 from master
2019-10-14 08:27:36 +02:00
René Fleschenberg
e0a869b208
[3.0.x] Clarified that SECURE_REDIRECT_EXEMPT patterns should not include leading slashes.
...
Backport of d232fd76a85870daf345fd8f8d617fe7802ae194 from master
2019-10-11 16:07:05 +02:00
Etienne Chové
651299e1ef
[3.0.x] Fixed #30014 -- Fixed ModelChoiceField validation when initial value is a model instance.
...
Thanks Carlton Gibson for reviews.
Backport of e7cdb0cd7eb5eb677af8dae7bfc6845186f861b0 from master
2019-10-11 14:33:32 +02:00
Etienne Chové
82ba905db3
[3.0.x] Added ModelChoiceField test for validation with to_field_name.
...
Backport of a12f9cd95a24573612daaf844ec97d4aed12446d from master
2019-10-11 14:33:16 +02:00
Louise Grandjonc
cf7ef5d258
[3.0.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:51:14 +02:00