Mariusz Felisiak
f4ed6800bd
[3.0.x] Fixed #30953 -- Made select_for_update() lock queryset's model when using "self" with multi-table inheritance.
...
Thanks Abhijeet Viswa for the report and initial patch.
Backport of 0107e3d1058f653f66032f7fd3a0bd61e96bf782 from master
2019-12-02 07:58:04 +01:00
Baptiste Mispelon
81ddf4b164
[3.0.x] Fixed #31029 -- Used more specific links to RFCs.
...
Backport of ff1b19da6761217ed1b14cc7e94c6438903565d8 from master
2019-11-28 07:59:46 +01:00
Adam Johnson
0dd8c438aa
[3.0.x] Improved custom MultiWidget example in docs.
...
Backport of 7742cc0c8f620f7b65b02b5018a5f7078325d467 from master
2019-11-26 18:35:45 +01:00
Sergey Fedoseev
b3ffa0d51d
[3.0.x] Updated link to IBM DB2 backend.
...
See https://github.com/ibmdb/python-ibmdb/pull/375
Backport of 5573a54d409bb98b5c5acdb308310bed02d392c2 from master
2019-11-25 21:00:13 +01:00
Sergey Fedoseev
c332f89dc6
[3.0.x] Doc'd SpatiaLite support of 3D geometry fields.
...
Support was added in 65129aac07022f23afa1df7ec7fad2216634cb38.
Backport of 85c598900772a00aee2ad4a20e3f3854f1c87fbd from master
2019-11-25 09:31:33 +01:00
Baptiste Mispelon
76e0846c90
[3.0.x] Fixed #28469 -- Doc'd how to create a custom HttpResponse subclass.
...
Backport of 9f1ec9efc35bbb375c9cebb3e0d8c1b7be838338 from master
2019-11-25 08:35:33 +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
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
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
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
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
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
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
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
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
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
Caio Ariede
7d8d2b56be
[3.0.x] Fixed #28790 -- Doc'd how to avoid running certain test classes in parallel.
...
Backport of dafdfd6a60638c4edcca7c4e65d11c0af654d759 from master
2019-10-08 12:32:25 +02:00
Caio Ariede
282138a7bb
[3.0.x] Fixed #28273 -- Doc'd fast nullable column creation with defaults.
...
Backport of 06909fe084f87a65459a83bd69d7cdbe4fce9a7c from master
2019-10-07 14:37:16 +02:00
Tamer Sherif
3ea957b543
[3.0.x] Refs #10348 -- Doc'd that ModelAdmin ignores list_select_related when QuerySet.select_related() was already called.
...
Backport of e3f647f4d5fc414f8cb7ab58df5e61a19908c63f from master
2019-10-07 11:10:38 +02:00
Katie McLaughlin
717d845737
[3.0.x] Fixed #30834 -- Added explicit list of supported databases to the databases docs.
...
Backport of 9dca904a5bf37ee9ad015212b17a9929ab8952cd from master
2019-10-03 19:48:45 +02:00
Mar Sánchez
9fa6c737df
[3.0.x] Refs #15396 -- Mentioned full path to GZipMiddleware in documentation.
...
Backport of f1d4a540b29c6766b988852bc302ac036a2d82e2 from master
2019-10-02 14:59:04 +02:00
Carlton Gibson
b0b98fcacf
[3.0.x] Refs #28699 -- Clarified CSRF middleware ordering in relation to RemoteUserMiddleware.
...
Backport of 94469504706b494877b6bb45a979bcb81c7fd7be from master
2019-10-02 13:11:33 +02:00
Sjbrgsn
516200c09e
[3.0.x] Fixed #30817 -- Clarified return value of Sitemap.items().
...
Backport of 7b3c06cd72e691ffd932ccce338701c37297a415 from master
2019-10-02 12:16:48 +02:00
David Vaz
30a613aff3
[3.0.x] Doc'd that migrate commmand accepts a unique migration name prefix.
...
Backport of e02f67ef2d03d48128e7a118bf75f0418e24e8ac from master
2019-09-30 09:47:29 +02:00
David Vaz
0c655f1df2
[3.0.x] Fixed #30597 -- Clarified how to unapply migrations.
...
Backport of 45554fd5c5c6a536db3ce70d78646d3dc398cf08 from master
2019-09-27 22:40:29 +02:00
David Vaz
5d40de0856
[3.0.x] Refs #30597 -- Added a warning about dependent apps when unapplying migrations.
...
Backport of abba563c8635a52e8b657dee7708202e1f69433c from master
2019-09-27 20:09:28 +02:00
Glenn
311177d5d1
[3.0.x] Fixed #27921 -- Clarified usage of make_aware() with is_dst argument.
...
Backport of c2678e49759e5c4c329bff0eeca2886267005d21 from master
2019-09-27 09:56:06 +02:00
Claude Paroz
1319124aa9
[3.0.x] Refs #26601 -- Used new-style middlewares in documentation.
...
Backport of d71497bb249a2c3ffec41e99089f5ae8e575f2d3 from master
2019-09-24 09:59:06 +02:00
Jezeniel Zapanta
9510af35fc
[3.0.x] Fixed #30732 -- Doc'd that SameSite cookies flags can affect xframe_options_exempt.
...
Backport of e8ad265ac882f8f118d2c4a7618bd3e3916fc13e from master
2019-09-24 08:43:55 +02:00
Mariusz Felisiak
368832e803
[3.0.x] Refs #29915 -- Doc'd limitation of using pattern lookups with UUIDField on PostgreSQL.
...
Backport of 343afa788080fb874bcd10eab1a1a2fede98c526 from master
2019-09-23 08:44:15 +02:00
Carlton Gibson
e4dc1b8cac
[3.0.x] Fixed #27462 -- Clarifed pk_set difference in m2m_changed signal receivers for add() and remove().
...
Thank you to Mariusz Felisiak for review.
Backport of bae05bcf68710cb6dafa51325c3ec83ddda83c39 from master
2019-09-19 11:40:47 +02:00
Claude Paroz
c2057205d9
[3.0.x] Fixed #29823 -- Doc'd limitation of DecimalField on SQLite.
...
Backport of b8dff52f440adfb78b40e19ee8bff45373ca2501 from master
2019-09-14 17:23:08 +02:00
Ben Falk
e0bb9092d1
[3.0.x] Fixed typos in docs/ref/settings.txt.
...
Backport of 4056558a1c9cf650ab6e7cb1a319206d2e8c770f from master
2019-09-13 20:37:22 +02:00
Nick Pope
4d72c14baf
[3.0.x] Refs #27910 -- Improved documentation for model field choice enumeration types.
...
Backport of 1c66767d4e472fea27798812817b8a47c6ae22b3 from master
2019-09-13 15:38:27 +02:00
Vojtech Bocek
10d5e439e9
Refs #28107 -- Doc'd how to subclass an existing database engine.
2019-09-09 14:04:41 +02:00
Nick Pope
406dba04e1
Fixed #29406 -- Added support for Referrer-Policy header.
...
Thanks to James Bennett for the initial implementation.
2019-09-09 13:35:41 +02:00
Nick Pope
fc62e16291
Standardized links for headers in security middleware documentation.
2019-09-09 13:35:17 +02:00
Nick Pope
b6251956b6
Fixed #30757 -- Added a system check to ensure max_length fits the longest choice.
2019-09-09 10:28:18 +02:00
Claude Paroz
05d0eca635
Fixed #30426 -- Changed X_FRAME_OPTIONS setting default to DENY.
2019-09-09 08:15:26 +02:00
Tobias Kunze
4a954cfd11
Fixed #30573 -- Rephrased documentation to avoid words that minimise the involved difficulty.
...
This patch does not remove all occurrences of the words in question.
Rather, I went through all of the occurrences of the words listed
below, and judged if they a) suggested the reader had some kind of
knowledge/experience, and b) if they added anything of value (including
tone of voice, etc). I left most of the words alone. I looked at the
following words:
- simply/simple
- easy/easier/easiest
- obvious
- just
- merely
- straightforward
- ridiculous
Thanks to Carlton Gibson for guidance on how to approach this issue, and
to Tim Bell for providing the idea. But the enormous lion's share of
thanks go to Adam Johnson for his patient and helpful review.
2019-09-06 13:27:46 +02:00
Shai Berger
72ebe85a26
Fixed #27910 -- Added enumeration helpers for use in Field.choices.
...
These classes can serve as a base class for user enums, supporting
translatable human-readable names, or names automatically inferred
from the enum member name.
Additional properties make it easy to access the list of names, values
and display labels.
Thanks to the following for ideas and reviews:
Carlton Gibson, Fran Hrženjak, Ian Foote, Mariusz Felisiak, Shai Berger.
Co-authored-by: Shai Berger <shai@platonix.com>
Co-authored-by: Nick Pope <nick.pope@flightdataservices.com>
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2019-09-04 14:42:49 +02:00
Daria Kolodzey
3f8ee58ccc
Fixed #30738 -- Fixed typo in docs/ref/forms/widgets.txt.
...
Thanks Emmanuel Cazenave for the report.
2019-08-31 10:58:40 +02:00