4348 Commits

Author SHA1 Message Date
Hasan Ramezani
b80c5baf29 [3.0.x] Fixed #31650 -- Added note uniqueness of constraints names in docs.
Backport of 55556e51fb152c864ddc782d9b56e8b785ccf8bc from master
2020-06-04 07:39:08 +02:00
Carlton Gibson
d22f67848c
[3.0.x] Refs #31485 -- Backported jQuery upgrade to 3.5.1. 2020-06-02 14:36:31 +02:00
Chris May
9297a3e627 [3.0.x] Fixed typo in docs/ref/templates/language.txt.
Backport of ecaac9e42f497be04ddc72dfebb6e397ccca9517 from master
2020-06-01 20:52:56 +02:00
Fabio Sangiovanni
759e946330 [3.0.x] Added SingleObjectMixin.query_pk_and_slug to CBV flattened index.
Backport of df188824738ff5e54baf2d61f6a7dff51a20f068 from master
2020-06-01 07:50:19 +02:00
Mariusz Felisiak
24cffddc6f [3.0.x] Fixed some formatting issues in docs.
Backport of 803e70b1adb71d86eb5bbb4074ef5ff96ae6e55d from master.
2020-05-27 09:09:44 +02:00
René Fleschenberg
f175e03fc2 [3.0.x] Refs #23097 -- Used new octal format in FILE_UPLOAD_PERMISSIONS docs.
Backport of f24b59267be2e5fc5bd1252efda3aed19f860813 from master
2020-05-25 21:04:49 +02:00
Carlton Gibson
49427acd4a [3.0.x] Updated list of third-party DB backends.
* Alphabetized third-party DB backend list.
* Added backticks around single-word link texts to ease visual/machine sorting.
* Added CockroachDB to list of third-party DB backends.
* Updated third-party DB backend URLs.

Thanks to Nick Pope and Tim Graham for the review.
Backport of 6dcfa70cac29c854fc5169bed1cf6479eabdb8c1 from master
2020-05-21 20:55:54 +02:00
Jon Dufresne
7fa16e58d0 [3.0.x] Fixed numbered list in admin overview docs.
Backport of 05ed7104c0bc069352b2cee85ab918e48ee73cbe from master
2020-05-13 09:10:39 +02:00
Adam Johnson
cdf320dfb2 [3.0.x] Fixed a/an typos in "SQL" usage.
Backport of 1c2c6f1b51a540bddc7ae95f4d1213688411ca44 from master
2020-05-06 06:36:16 +02:00
Adam Johnson
883362b6a7 [3.0.x] Corrected models.FilePathField signature in docs.
Backport of 787981f9d1d5abc489a0b069e3353b8ad7aa9778 from master
2020-05-04 12:40:33 +02:00
David Smith
fc0e0876da [3.0.x] Refs #27778 -- Removed reference to ASCII usernames in django.contrib.auth.models.User docs.
Backport of 505b7b616320b8d5bbc83d0dbbb3aec3a58ba0c9 from master
2020-05-01 06:11:58 +02:00
Mariusz Felisiak
e19ab18773 [3.0.x] Fixed broken links in docs.
Backport of b28be08cac1f7cde332ca43db65bb733fa3f9bf5 from master
2020-04-28 10:10:15 +02:00
Hasan Ramezani
657992cf19 [3.0.x] Fixed #31514 -- Fixed default form widgets in model fields docs.
Backport of d6db186427d33889e4d2f3b56e02807d51fc0376 from master
2020-04-25 21:21:29 +02:00
Tim Schilling
a3e4591020 [3.0.x] Corrected outputting BooleanField as HTML in forms docs.
Backport of 34a69c24584ec7d842dbf266659b25527cd73909 from master
2020-04-24 12:15:50 +02:00
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