4334 Commits

Author SHA1 Message Date
Jon Dufresne
fc83e2afe3 [3.0.x] Fixed broken link to Watchmen configuration in docs/ref/django-admin.txt.
Backport of faa08449dd1236c1b92883e86cf1895410c72f56 from master
2020-04-23 18:34:03 +02:00
David Smith
192c1ec5cc [3.0.x] Updated iTunes podcast format link in syndication docs.
Backport of 201431915925f63da6303dd21ad11088bb004382 from master
2020-04-20 08:10:42 +02:00
Jon Dufresne
c335f16855 [3.0.x] Refs #30165 -- Removed obsolete doc references to deprecated ugettext() & co.
The u-prefixed variants were removed from the documentation in
6eb4996672ca5ccaba20e468d91a83d1cd019801.
Backport of fb21625270ab169fd436c36dd51acb642a97ee50 from master
2020-04-20 07:58:03 +02:00
Nick Pope
70b1c947c8 [3.0.x] Improved message example in admin actions documentation.
Avoid partial string construction and make use of ``ngettext`` to show
example of how to handle plural variants with translations. Also make
use of ``messages.SUCCESS`` to highlight customizing the style of the
message - in this case it better fits what the message is conveying.
Backport of 058b38b43ea4726be2914ecc967b8fb1da47d995 from master
2020-04-16 11:28:41 +02:00
Mariusz Felisiak
e42320d2f2 [3.0.x] Used :rfc: role in various docs.
Backport of f1a808a5025b63715d1034af2b96a6a5241d29e9 from master.
2020-04-15 20:02:38 +02:00
Mariusz Felisiak
747ea48983 [3.0.x] Fixed typo in docs/ref/templates/builtins.txt.
Backport of fc0b48d2e7aaaeb390936916f56dc0631717d022 from master
2020-04-15 10:41:40 +02:00
Mariusz Felisiak
51f0b8ae0d [3.0.x] Fixed term warning on Sphinx 3.0.1+.
"term" role became case sensitive in Sphinx 3.0.1.
Backport of cc70a0343ef51ffcc0b1211dd6e7abedc4b43ea6 from master
2020-04-14 09:32:48 +02:00
David Smith
eeab4ab82e [3.0.x] Refs #10427 -- Corrected BoundField.css_classes() signature in docs.
Backport of 734fde771433b9ea525a2b0f4d8ebb3ae426b2fa from master
2020-04-10 08:01:17 +02:00
Mariusz Felisiak
f425835cbe [3.0.x] Fixed highlightlang deprecation warning on Sphinx 1.8+.
Backport of 678f958ef972bf9be402332537149ca0884035ba from master
2020-04-07 09:49:41 +02:00
Mariusz Felisiak
255f3f77d2 [3.0.x] Fixed Sphinx warnings on duplicate object descriptions.
Backport of 69e2cd6fed40f3ecf767609b80ad31f288446e48 from master
2020-04-07 09:49:31 +02:00
Carlton Gibson
2c3497980f [3.0.x] Corrected docs spelling of PgBouncer.
Backport of b1f88476dbd738bdcc20466efd5ffcb83ab25093 from master
2020-04-01 15:15:21 +02:00
Adam Johnson
0342d47e7a [3.0.x] Prevented (and corrected) single backtick usage in docs.
Backport of 1cdfe8d91215eefaa18c398069dd9c6879a9511d from master.
2020-04-01 15:15:21 +02:00
Adam Johnson
c9437596fe [3.0.x] Refs #31320 -- Warned against using BEGIN/COMMIT in RunSQL.
Backport of e9b014fbc56b9baf91019a803ab2a45788c5c44a from master
2020-04-01 10:59:42 +02:00
Hasan Ramezani
a6cc8b80cb [3.0.x] Fixed #31400 -- Doc'd the expected type of CONN_MAX_AGE database option.
Backport of bec4dea844332390aecd72f22afc6673a3f5f5fc from master
2020-03-27 07:02:09 +01:00
Carlton Gibson
3bb1e6c504 [3.0.x] Fixed #31330 -- Corrected catchall URL pattern in flatpages docs.
Use re_path() pattern with the regex used before original regression in
df41b5a05d4e00e80e73afe629072e37873e767a.
Regression in a0916d7212aaae634f4388d47d8717abc2cd9036.

Backport of 8f2a6c76d19e4010c4683b20ed7f1eb4b07c17eb from master
2020-03-26 09:18:45 +01:00
Adam Johnson
c740a994fa [3.0.x] Improved docs on migration reversibility.
- Clarify reversibility for RunSQL and RunPython operations.
- Add example for migrate with irreversible migration.

Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
Backport of b15b3706fec8ef59577ac47118ee0c62132a03a6 from master
2020-03-25 14:39:17 +01:00
Tim Graham
2892c65461 [3.0.x] Removed obsolete references to South database migrations.
Backport of 291539a85c8461456ab728fe6820a86de54294b6 from master
2020-03-23 11:56:27 +01:00
Hasan Ramezani
aea9344139 [3.0.x] Fixed #31368 -- Doc'd 'expression' parameter of Field.from_db_value()/Expression.convert_value().
Backport of 6929f13254ce42b0a4ee5d677591d47b61023ae7 from master
2020-03-18 11:57:25 +01:00
David Smith
c5ac3ab056 [3.0.x] Fixed #31362 -- Removed nonexistent choices attribute from MultipleHiddenInput's docs.
Follow up to 65c13f9675d2ca7fc1c925e7182a2e35d07ff5fb.
Backport of 7075d27b0c75f1431f29497f4353cd742906b357 from master
2020-03-14 20:21:47 +01:00
Hasan Ramezani
6831049fc2 [3.0.x] Fixed #31330 -- Updated flatpages URLconf example to work with APPEND_SLASH.
Regression in df41b5a05d4e00e80e73afe629072e37873e767a.
Backport of a0916d7212aaae634f4388d47d8717abc2cd9036 from master
2020-03-14 20:10:05 +01:00
Andrew Godwin
8d4638db20 [3.0.x] Refs #31224 -- Doc'd async adapter functions.
Backport of 40a64dd1e24d45f8e00a55b22a5174b8f1359b5c from master
2020-03-13 07:37:30 +01:00
Adam Johnson
6b41f07720 [3.0.x] Clarified SeparateDatabaseAndState docs and added example of changing ManyToManyField.
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Co-Authored-By: Carlton Gibson <carlton.gibson@noumenal.es>
Co-Authored-By: René Fleschenberg <rene@fleschenberg.net>

Backport of a9ee6872bd9e1bacc2da827dbd5b9093f724e4a5 from master
2020-03-10 11:14:05 +01:00
Mariusz Felisiak
0fde2664f6 [3.0.x] Corrected learn_cache_key() signature in docs.
Follow up to b22415214a7bdeaf8ccd7b8b21872038ab865991.
Backport of 5e17301f38d0a4f372d4d36762a464f5f4714ebd from master
2020-03-10 08:55:19 +01:00
Борис Верховский
2928587694 [3.0.x] Corrected get_cache_key() signature in docs.
Follow up to b22415214a7bdeaf8ccd7b8b21872038ab865991 and
cb17f7ca2252265ab4a844e7924cb8ebab4a1a76
Backport of d82d2d49d629f010da2c0d81b5927946d971ae72 from master
2020-03-10 08:14:03 +01:00
Adam Johnson
cc20699e0a [3.0.x] Doc'd return values of as_sql() for Func and query expressions.
Backport of 8c1b073b596af23c02020879219b4e85f15a836d from master
2020-03-06 13:02:31 +01:00
Mariusz Felisiak
f389e2c960 [3.0.x] Added missing backticks in various docs.
Backport of 30ca66eadd1135d220ae1f0570bb0244c26b9d29 from master
2020-03-06 11:53:35 +01:00
Adam Johnson
4977f2084e [3.0.x] Documented default value of InlineModelAdmin.extra.
Backport of 3bd29a8a973e2bb11b00666458344aeab5684a39 from master
2020-03-03 09:05:52 +01:00
Mariusz Felisiak
5320ba98f3 [3.0.x] Removed outdated note about not supporting partial indexes by Django.
Supported since a906c9898284a9aecb5f48bdc534e9c1273864a6.
Backport of a49c2b6bf098eb48c07641f60dba9be78c6cc92f from master
2020-02-29 20:36:16 +01:00
Andrey Doroschenko
59ac25c93b [3.0.x] Fixed #31313 -- Fixed is_upperclass() example in enumeration types docs.
Backport of f1016814d84b1423cfe0df85644c9870a6bc6b41 from master
2020-02-27 08:33:51 +01:00
Mariusz Felisiak
ae6c6f9110 [3.0.x] Removed hint from fields.E310 message in system check docs.
This is the only documented hint.
Backport of 667f784baab31f11d2469e5d22bbdc2390dbc030 from master
2020-02-26 12:01:32 +01:00
Carlton Gibson
611d1c1148 [3.0.x] Fixed #31282 -- Corrected RelatedManager docs for using add/remove/set with PKs.
Backport of 3bbf9a489afc689eff2f4a0b84af196aa1ef51e7 from master
2020-02-18 19:58:23 +01:00
Hasan Ramezani
bcf58e3e70 [3.0.x] Fixed #31270 -- Doc'd RedirectView.get_redirect_url() arguments.
Backport of 2ab97af3528352e8f3ea4aa725b863822442d5ed from master
2020-02-14 10:33:20 +01:00
Florian Apolloner
22c25bea54 [3.0.x] Reverted "Fixed #30565 -- Closed HttpResponse when wsgi.file_wrapper closes file-like object."
This reverts commit cce47ff65a4dd3786c049ec14ee889e128ca7de9.

Backport of 549445519ce90cc5c1e3f981853cc0c67725f3ed from master
2020-02-11 20:40:17 +01:00
Abhijeet
7d48a4b703 [3.0.x] Fixed #31126 -- Doc'd STATICFILES_DIRS namespacing in static files how-to.
Backport of a45c8d7ad04b73e33b6989c3ffa2b8c51ae3e83b from master
2020-01-29 10:36:52 +01:00
Mariusz Felisiak
b0207ac674 [3.0.x] Updated the GeoJSON format specification link to RFC 7946.
Backport of 5978de2ec0787c8912349a72a7143c33f62b980b from master
2020-01-29 09:35:51 +01:00
Mariusz Felisiak
27e4ebc0ba [3.0.x] Refs #25778 -- Updated some links to HTTPS and new locations.
Backport of 0ac8ac8b0dece68072548900e992fc31493154c1 from master
2020-01-29 09:35:45 +01:00
Jon Dufresne
21cc097403 [3.0.x] Fixed #31212 -- Updated psycopg links to HTTPS and new location.
Backport of 958977f662d878c299b3599282f005c3469dbef9 from master
2020-01-29 06:53:43 +01:00
Adam Johnson
ef22cf41af [3.0.x] Clarified AppConfig.ready() docs example.
Backport of 971a84d6af9de738be2a7a8344fa8c80671d1729 from master
2020-01-22 13:52:23 +01:00
Claude Paroz
789de6050a [3.0.x] Added missing backtick in instances docs.
Backport of c7b97ac3a7908dab0825f6bdb61b40f641306a8e from master
2020-01-17 20:27:48 +01:00
Carlton Gibson
57468eaff3 [3.0.x] Fixed #31124 -- Fixed setting of get_FOO_display() when overriding inherited choices.
Regression in 2d38eb0ab9f78d68c083a5b78b1eca39027b279a

Backport of 29c126bb349526b5f1cd78facbe9f25906f18563 from master
2020-01-15 15:36:28 +01:00
Daniel Hahler
d7adaa399e [3.0.x] Fixed typo in docs/ref/django-admin.txt.
Backport of 20debf01bd3b58ba28ffc6606333851a7ef18bea from master
2020-01-13 12:39:44 +01:00
Claude Paroz
4853d0fdc4 [3.0.x] Corrected notes about default date/datetime/time input formats.
Backport of b23fb2c8198aee5c209bb24c0738d71970cffdc4 from master
2020-01-06 11:39:47 +01:00
Mariusz Felisiak
e2b72f85c2 [3.0.x] Fixed typo in ref/forms/widgets.txt.
Backport of ef1286e3e3e2ea1a854b0169da2cefed0241903e from master
2020-01-02 07:47:11 +01:00
Simon Charette
a04e6fb355 [3.0.x] Refs #29260 -- Doc'd Model.save() behavior change in Django 3.0.
Backport of 9e14bc2135cb806b66374bac791c79344fff4ded from master
2019-12-30 08:30:49 +01:00
Jon Dufresne
eb40426259 [3.0.x] Removed unnecessary code-block directives in various docs.
Backport of 5e00bd1f7717149573df9607b848297a520881d3 from master
2019-12-23 14:48:16 +01:00
Taoup
b1a309f6f0 [3.0.x] Fixed #31110 -- Fixed typo in docs/ref/models/expressions.txt.
Backport of cebd41e41603c3ca77c5b29d6cd20c1bff43827f from master
2019-12-21 20:34:30 +01:00
Garry Polley
d2100340f3 [3.0.x] Removed outdated information from contrib.sites docs.
Backport of d216e67b0cf7b161c8f532ca742e87eb8cf98f4b from master
2019-12-20 08:44:01 +01:00
Osaetin Daniel
33d2cda672 [3.0.x] Doc'd HttpResponse.set_cookie()'s secure argument.
Backport of 14e690ae5a6d4ddeb1ac021f78e2e6e333214ef8 from master
2019-12-13 11:06:47 +01:00
Osaetin Daniel
3ab7de0182 [3.0.x] Refs #6657 -- Corrected HttpResponse.set_cookie()/set_signed_cookie() signatures in docs.
Backport of 15c5875e693cc972c996a921560624c355ab8fdd from master
2019-12-13 11:06:33 +01:00
Hasan Ramezani
79c92fc7b6 [3.0.x] Fixed typos in 3.0 release notes and docs/ref/request-response.txt.
Backport of 52018e1615edfafcb5170ba6b473132fe2f9a534 from master
2019-12-12 10:19:38 +01:00