Carlton Gibson
947f8e3485
[3.0.x] Fixed #31012 -- Reverted "Fixed #29056 -- Fixed HTML5 validation of required SelectDateWidget."
...
This reverts commit f038214d917c982613f5a15db8dfe325b1f7479b.
The initial issue was incorrect. Django 2.2, and before, did not
generate invalid HTML as reported. With f03821 in place invalid HTML
was generated.
Thanks to Kevin Brown for follow-up report and investigation.
Backport of ee4a19053a32d41cdd79e087b1968980804ce658 from master
2019-11-21 21:06:07 +01:00
Hasan Ramezani
6e3ef98413
[3.0.x] Fixed #30625 -- Doc'd cache.get()/delete() behavior change in Django 2.2.
...
Backport of f69b32782e21642c6184162d888fcc17dd1dd85e from master
2019-11-21 10:54:46 +01:00
Sergey Fedoseev
409cd7b944
[3.0.x] Made versionadded/versionchanged annotations without a content end with ".".
...
Regression in d2afa5eb2308e672b6313876856e32e2561b90f3.
Backport of 5032556483f16b0b5f182e393eb5c6548fc505be from master
2019-11-21 09:03:44 +01:00
Mariusz Felisiak
ae2e13504b
[3.0.x] Fixed #31008 -- Fixed typos in docs/topics/logging.txt.
...
Backport of 3e5b349535f011a51dc308898924786143000631 from master
2019-11-20 20:36:20 +01:00
Carlton Gibson
0e58745716
[3.0.x] Pinned asgiref to 3.2 series.
...
Backport of 36453526d3e1a5829864f106d6baa0ebdb20537e from master
2019-11-20 15:13:28 +01:00
Caio Ariede
5f24b18e6c
[3.0.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 608e06023e6eaf75f744134a0fd203853260e616 from master
2019-11-20 11:51:33 +01:00
Mariusz Felisiak
2ef484ba3b
[3.0.x] Added stub release notes for 2.1.15.
...
Backport of e9def97d1095efed15a109d82fe0498ebd56fa04 from master
2019-11-19 12:44:43 +01:00
Hasan Ramezani
895c0889e4
[3.0.x] Fixed #30999 -- Fixed typo in docs/howto/custom-template-tags.txt.
...
Backport of 33eecfa7405ea997669f8edb61c596c3f295c793 from master
2019-11-19 10:09:27 +01:00
Luke Plant
e9005d693c
[3.0.x] Expanded API stability docs to include our policy of continual improvement.
...
Backport of 5cef2cd4a10e51035e2728e3e5e59265bc0347e0 from master
2019-11-18 21:39:30 +01:00
Baptiste Mispelon
1c75af9090
[3.0.x] Fixed #30990 -- Fixed example output in 'z' date format docs.
...
Backport of 1185c6172b4dd5482b7bc76b12d7a0588320e027 from master
2019-11-18 12:04:23 +01:00
Mariusz Felisiak
7a9dcd30b8
[3.0.x] Bumped version for 3.0 release candidate 1.
3.0rc1
2019-11-18 09:32:37 +01:00
Mariusz Felisiak
b582d00c75
[3.0.x] Updated man page for Django 3.0 release candidate 1.
2019-11-18 09:27:41 +01:00
Mariusz Felisiak
b6be0699b9
[3.0.x] Fixed #30986 -- Fixed queryset crash when filtering against boolean RawSQL expressions on Oracle.
...
Backport of 8685e764efd2957085762d9249e07794d9a58dcb from master
2019-11-18 09:16:21 +01:00
George Marshall
fa6076daf4
[3.0.x] Fixed #30971 -- Prevented Query.resolve_lookup_value() from coercing list values to tuples.
...
Regression in 8a281aa7fe76a9da2284f943964a9413697cff1f.
Backport of 8be79984dce7d819879a6e594ca69c5f95a08378 from master
2019-11-13 09:20:50 +01:00
Mariusz Felisiak
9ad38d4089
[3.0.x] Refs #29926 -- Doc'd Python 3.8 compatibility in Django 2.2.x.
...
Backport of b93a0e34d9b9b99d41103782b7e7aeabf47517e3 from master.
2019-11-12 22:13:54 +01:00
Mariusz Felisiak
f375ad95fa
[3.0.x] Added stub release notes for 2.2.8 release.
...
Backport of 30359496a3f3d9af0b02afc334710f7e24c74f5b from master
2019-11-12 14:42:15 +01:00
David Foster
c598ffd2e1
[3.0.x] Fixed #30828 -- Added how to remove/insert many-to-many relations in bulk to the database optimization docs.
...
Backport of 6a04e69e686cf417b469d7676f93c2e3a9c8d6a3 from master
2019-11-12 13:13:20 +01:00
Hannes Ljungberg
8d3f43f7a9
[3.0.x] Fixed #30967 -- Fixed TrigramTest failures on PostgreSQL 12+.
...
Backport of 6e2f05b2e33a6c80c7a411ce76af7b5a08acb835 from master
2019-11-11 13:30:14 +01:00
Mariusz Felisiak
2c2afbe104
[3.0.x] Fixed typo in docs/topics/files.txt.
...
Backport of 08c0d8b16bb7e79074bc9c8ab4f0db97a94d336a from master
2019-11-11 11:52:18 +01:00
Hasan Ramezani
6722416e70
[3.0.x] Fixed #30252 -- Clarified need to reopen forms.fields.ImageField.image file to access raw image data.
...
Backport of 2282d9f2e5d08fc782087ebe97ab195303a6e79b from master
2019-11-11 11:48:48 +01:00
Farhaan Bukhsh
78025531eb
[3.0.x] Fixed #30958 -- Used a clearer example in the Cast() docs.
...
Backport of 4cb15450adac4003ed98f4adcb1710c95fd2b919 from master
2019-11-11 10:10:31 +01:00
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 eee4da3b5748370a5c562bc63d2cae61ea85b16c 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 a32f983be8f5711963f20d976f13b3354e36f5c7 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 6436f1fad9ce51f18735106ac75aeea3d6d1f310.
Backport of 8058d9d7adb189fec75a4b57565f225996c7b22c 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 367634f976ab43db93321bf4eb898449b670e291 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 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