2769 Commits

Author SHA1 Message Date
Adam Johnson
051e6f58ea [3.0.x] Refs #31502 -- Made minor edits to Model._state docs.
Backport of 5ef6f626347f9ea13915f3cf5b8b045c5b42b102 from master
2020-07-16 21:12:33 +02:00
Mariusz Felisiak
b44e2d62c0 [3.0.x] Refs #30676 -- Added pdb argument to DiscoverRunner docs.
Backport of 2c43840dfba42ed02574a270d826fda08e4b50d1 from master
2020-07-10 19:10:28 +02:00
Jason Held
3ca2361d70 [3.0.x] Fixed #24816 -- Clarified docs about preventing duplicate signals.
Backport of 639142e24d41c5e5a508cb1280f32fd7ff159cca from master
2020-07-08 08:26:15 +02:00
Jacob Walls
9141841cca [3.0.x] Fixed #29308 -- Clarified how assertQuerysetEqual()'s transform works.
Backport of 659a73bc0a2df9be856e23fcfc6cc66d0d1a35fd from master
2020-07-08 08:26:11 +02:00
Adam Johnson
af2e95b0fa [3.0.x] Refs #31493 -- Replaced var with const/let in documentation JS.
Backport of 2afa61e7d99b2ff2656dc64b6e28db88baf786a4 from master

Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2020-06-24 12:27:31 +02:00
Hasan Ramezani
b61af177ee [3.0.x] Fixed #31696 -- Updated OWASP links in docs.
Backport of a16080810bee8b3baf9ae7ac7b8433cb7b293e00 from master
2020-06-15 09:45:45 +02:00
sebashwa
33767d5ab6 [3.0.x] Fixed #31690 -- Added note about fuzzy entries in translation docs.
Backport of 3d664a158de18acf72fc8e0671f0f390cbca4b2e from master
2020-06-15 09:05:43 +02:00
David Smith
8734a02f5d [3.0.x] Updated link to Celery.
Backport of 06c8565a4650b359bdfa59f9707eaa0d1dfd7223 from master
2020-06-02 14:38:06 +02:00
Jon Dufresne
caf7c4630d [3.0.x] Fixed #31643 -- Changed virtualenv doc references to Python 3 venv.
Backport of 9f4ceee90aaa2a6af8321417d79330f2fdc620ea from master
2020-06-02 11:55:57 +02:00
Jon Dufresne
9f30a7ebd3 [3.0.x] Changed some doc links to use intersphinx.
Backport of 494ba27b5fe14e42e815edde6bd4a1216b29c935 from master
2020-05-29 21:11:42 +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
Mariusz Felisiak
c91c4b326b [3.0.x] Fixed typo in docs/topics/i18n/translation.txt.
Thanks durey for the report.
Backport of dd3dcd28402b7c9cc7bfd24d3e026db751ca4dfd from master
2020-04-28 10:08:27 +02:00
Mariusz Felisiak
04bc3577ed [3.0.x] Fixed #31505 -- Doc'd possible email addresses enumeration in PasswordResetView.
Backport of ca769c8c13df46b8153a0a4ab3d748e88d6e26f9 from master
2020-04-27 18:07:34 +02:00
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
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
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
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
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
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
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
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
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
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
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
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
Shrikrishna Singh
300bd064c1 [3.0.x] Fixed #31350 -- Fixed typo in docs/topics/db/optimization.txt.
Backport of 370628673b98ada302c3930865c4bfde2d8ed5a1 from master
2020-03-09 07:55:28 +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
Carlton Gibson
1c1911dcd9 [3.0.x] Fixed #31342 -- Clarified docs about using base managers for related objects.
Backport of 08a6215d334f88f16707278e6003af59d13345b4 from master
2020-03-06 11:43:28 +01:00
Claude Paroz
e3069f6665 [3.0.x] Fixed #31341 -- Doc'd minimal gettext version with ES6 template strings support.
Backport of 2f53d324debee680658aed7f22f1aaf81385b1f2 from master
2020-03-05 13:49:17 +01:00
Matheus Cunha Motta
0193a1630e [3.0.x] Fixed #31303 -- Removed outdated note about symmetrical intermediate table for self-referential ManyToManyField.
Follow up to 87b1ad6e7351464c60e751b483d9dfce3a2d3382.

Backport of 0352a44dd61c19bebf0c0b305dbbc3f710ff9945 from master
2020-02-24 08:55:24 +01:00
Hasan Ramezani
a73489f162 [3.0.x] Fixed #30040 -- Used default permission name in docs examples to avoid confusion.
Backport of b7795d7673f51daf288ac80616ef69b05918ca6b from master
2020-02-19 15:46: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
Roy Smith
27739ad3f2 [3.0.x] Fixed #31184 -- Clarified URL matching behavior in URL dispatcher docs.
Backport of cf493e5c819f5ee49b96954f026bec722e19d9c3 from master
2020-01-24 12:22:51 +01:00
Mariusz Felisiak
8712027b22 [3.0.x] Refs #29998 -- Corrected auto-created OneToOneField parent_link in MTI docs.
Backport of d202846ced2f58d7a34ad80bfe2bde8a542a70b9 from master
2020-01-15 15:07:52 +01:00
Kal Sze
2efc832cdf [3.0.x] More accurate terminology ("logger" instead of "logging handler") in logging documentation.
Backport of aa6c620249bc8c2a6245c8d7b928b05e7e5e78fc from master
2020-01-09 15:28:55 +01:00
Jack Cushman
b11761e3cc [3.0.x] Clarified that ValueError raised by converter.to_python() means no match unless another URL pattern matches.
Backport of 196009c72c7144f25bc5e4029ef519db0190bb89 from master
2020-01-08 11:20:57 +01:00
Mark Bailey
e7d7e04d95 [3.0.x] Fixed #31103 -- Improved pagination topic documentation.
Backport of 0f0abc20be55d796ecfc3e7698e7ecfd9e9cdf88 from master
2020-01-07 10:34:19 +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
Garry Polley
77722711df [3.0.x] Added example of assertNumQueries() with "using" kwarg in testing topics docs.
Backport of 0b698eaea611d3bafa86d6d81d9203b482600ccb from master
2019-12-20 08:44:07 +01:00
Nick Pope
08b426aedb [3.0.x] Refs #28954 -- Remove remaining Jython documentation.
There is still no further progress on Jython 3 since support for Jython
was stripped in Django 2.0. The developers experimenting with Jython 3
have stated that they would need to start from scratch, so it doesn't
look as though it will materialize for years to come.

Python 2 and Django 1.11, the last version to support Python 2.7, will
both be end-of-life before Django 3.1 is released. We should no longer
instruct users to use an unsupported version of Django.

Backport of d8b6a76bc745b21c6cf2b29c220a91bcae7fd3d7 from master
2019-12-19 16:44:39 +01:00
Hasan Ramezani
fb260ad777 [3.0.x] Corrected some typos in documentation.
Backport of 70d95682b1be6a85abdeaea0205a897f7530f8bc from master
2019-12-18 11:37:32 +01:00
Hasan Ramezani
6cb30414bc [3.0.x] Fixed #31069, Refs #26431 -- Doc'd RegexPattern behavior change in passing optional named groups in Django 3.0.
Backport of 9736137cdc4b7528a0aca17415dc9798660eed81 from master
2019-12-12 14:49:13 +01:00
Mariusz Felisiak
e986e49e66 [3.0.x] Fixed #31061 -- Ignored positional args in django.urls.resolve() when all optional named parameters are missing.
Regression in 76b993a117b61c41584e95149a67d8a1e9f49dd1.

Thanks Claude Paroz for the report and Carlton Gibson for reviews.
Backport of 82a88d2f48e13ef5d472741d5ed1c183230cfe4c from master
2019-12-06 09:33:45 +01:00
Felipe Lee
87483757c8 [3.0.x] Fixed #20456 -- Added example of directly testing CBVs in topics docs.
Backport of a2e96f7969059fb4e621a1cd591fbdd0d4deae2e from master
2019-12-04 16:41:46 +01:00