27642 Commits

Author SHA1 Message Date
Tanmay Vijay
cb10c33e27 [3.0.x] Doc'd PasswordChangeView/PasswordResetView.success_url defaults.
Backport of e43abbbd70a78d4c0023667589c4e143ed78807e from master
2020-04-24 08:39:56 +02:00
Andy Chosak
2673738aac [3.0.x] Fixed typo in docs/intro/contributing.txt.
Backport of 2c4f6034616e695941fe6bdff7c38e1894da286d from master
2020-04-24 08:18:37 +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
Mads Jensen
8c522d71e3 [3.0.x] Added link to Mozilla's infosec page on web security.
Backport of 060d9d4229c436c44cf8e3a301f34c4b1f9f6c85 from master
2020-04-22 16:27:19 +02:00
Jignesh Kotadiya
abe33c1695 [3.0.x] Refs #22463 -- Replaced JSHint with ESLint in contributing docs.
Backport of 7b4bd2a82c4709a9078fed5c33fa94f208a8c41e from master
2020-04-20 10:53:53 +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
Andrew Godwin
d292d1163e [3.0.x] Refs #31224 -- Removed incorrect @sync_to_async(thread_sensitive=True) example.
It does not support thread_sensitive when used as a decorator, yet.
Backport of b5ad450fa6d53186b68f89a4507fdbabc8900f74 from master
2020-04-14 07:27:05 +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
042c19cbd0 [3.0.x] Fixed CodeBlock deprecation warning on Sphinx 2.1+.
Backport of a4e4737cf36f3ba6f526587f2656cf4be64b91bf from master
2020-04-07 09:49:36 +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
Hasan Ramezani
22a2e97fc3 [3.0.x] Fixed #31420 -- Fixed crash when filtering subquery annotation against a SimpleLazyObject.
Thanks Simon Charette for the solution and analysis.

Backport of 4237050684427db45ea834fe89d9e11c0520201e from master
2020-04-06 08:15:51 +02:00
Simon Charette
810f18c2df [3.0.x] Fixed #31423 -- Clarified nested atomic() example.
Backport of fa5e7e46d875d4143510944f19d79df7b1739bab from master
2020-04-06 06:17:16 +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
Carlton Gibson
73001dd8ad [3.0.x] Added stub release notes for 3.0.6.
Backport of a7e4ff370cdb046b048b40e6e0d043cc6a91247c from master
2020-04-01 10:11:24 +02:00
Carlton Gibson
bf4921f115 [3.0.x] Post-release version bump. 2020-04-01 09:54:37 +02:00
Carlton Gibson
49b4ec0a19 [3.0.x] Bumped version for 3.0.5 release. 3.0.5 2020-04-01 09:54:05 +02:00
Carlton Gibson
d569a8fdde [3.0.x] Added release dates for 2.2.12 and 3.0.5.
Backport of b56243b77f6ae3125bd1a3f24163b28a13a30c5f from master
2020-04-01 09:17:38 +02:00
Mariusz Felisiak
ab09559b19 [3.0.x] Removed unused link in docs/faq/help.txt.
Unused since its introduction in 97cb07c3a10ff0e584a260a7ee1001614691eb1d.
Backport of 3eaf6d67d01dd13baa7237153e7a6e371c56b336 from master
2020-03-31 18:28:16 +02:00
Adam Johnson
9362bf71c3 [3.0.x] Fixed links in Getting Help FAQ.
Follow up to 6ef4c8aa9f887f72ebdacff229b9012686272e3a,
Backport of 00ff7a44dee91be59a64559cadeeba0f7386fd6f from master
2020-03-30 07:45:32 +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
Adam Johnson
f4ee1ba74d [3.0.x] Rewrote Get Help FAQ.
Backport of 6ef4c8aa9f887f72ebdacff229b9012686272e3a from master
2020-03-26 10:25:24 +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
2306f8c9bb [3.0.x] Added additional note that tests use locmem email backend.
Backport of f344c75fb09f75879334740f1f8a09c176d93c12 from master
2020-03-25 15:25:56 +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
Adam Johnson
76db34e52a [3.0.x] Improved sessions notes in deployment checklist.
- Added note to clear old sessions when using database-backend.
- Made note to consider the cache backend more generic.
Backport of 66b06822d05ca1cf897745e7cb3c89adc53363ba from master
2020-03-25 12:05:36 +01:00
Hasan Ramezani
72652bcb1b [3.0.x] Fixed #31377 -- Disabled grouping by aliases on QuerySet.values()/values_list() when they collide with field names.
Regression in fb3f034f1c63160c0ff13c609acd01c18be12f80.

Thanks Holovashchenko Vadym for the report.

Backport of 10866a10fe9f0ad3ffdf6f93823aaf4716e6f27c from master
2020-03-25 09:49:51 +01:00
Adam Johnson
600d7d8693 [3.0.x] Added link to contributing docs in deprecation policy.
Backport of f1db2ca7328ff9f0f8b4db81699cc46ff5c8cc37 from master
2020-03-24 08:50:50 +01:00
Victor Moura
6de7a600c0 [3.0.x] Fixed #31385 -- Improved wording in tutorial 1.
Backport of 1628b35b586e07ea47a82713192d0e4662268686 from master
2020-03-24 07:12:59 +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
Carlton Gibson
5c1ad59a0e [3.0.x] Fixed typo in docs/topics/async.txt.
Backport of f622b490106289e78c727c464d001e01a4f71d8b from master
2020-03-17 20:57:45 +01:00
Ben Li-Sauerwine
2f5c35cf39 [3.0.x] Made logging config examples more accessible.
- Show an initial example configuring the root logger to output to the console.
- Then add more logging from the `django` named logger.
- Then show the file and more complex examples.

Adjusted surrounding text for reading flow.

Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
Backport of fc84848cd9509409e420b21b6db697f22f2c82a4 from master
2020-03-17 11:51:50 +01:00
Philipp Bosch
725d7c2a7c [3.0.x] Corrected outdated sentence in One-to-one relationships docs.
Backport of f75af5b67bac58d6c6d043d5e9e14bd0908505dd from master
2020-03-17 11:08:55 +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
Claude Paroz
d9f1792c76 [3.0.x] Fixed #30439 -- Added support for different plural forms for a language.
Thanks to Michal Čihař for review.
Backport of e3e48b00127c09eafe6439d980a82fc5c591b673 from master
2020-03-10 15:57:36 +01:00
Carlton Gibson
525274f79b [3.0.x] Added stub release notes for 2.2.12.
Backport of a4200e958d1da46465d7d684674a1711bc9f65e0 from master
2020-03-10 12:03:05 +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
Adam Radwon
0f524f5686 [3.0.x] Fixed #27865 -- Adjusted docs example to avoid confusion with models.BaseManager.
Backport of a2f554249ec07d4643643773a995579f98564ac1 from master
2020-03-10 09:17:41 +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
Mariusz Felisiak
d6e67df4b9 [3.0.x] Updated migrations example in tutorial 2.
Follow up to a97845a823c86b1d6e65af70fbce64e6e747e081.
Backport of 5da627a58f41d6854342e95a171a82f5b2309d52 from master
2020-03-10 08:54:04 +01:00