2851 Commits

Author SHA1 Message Date
Jon Dufresne
e5273bc92b [3.1.x] Removed forms-MAX_NUM_FORMS POST data in docs
The field is ignored server-side and only exists as a client-side
convenience. Removing it slightly simplifies the documentation and
avoids some distractions.

Added note:: for MIN_NUM_FORMS/MAX_NUM_FORMS in
Understanding the management form section.

Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>

Backport of d3b3eb860dc140c56022704672e7f54fa8a0c648 from master
2020-12-23 17:19:00 +01:00
Nick Pope
b044b417d2 [3.1.x] Refs #30181 -- Corrected note about storing None in the cache.
Backport of d23dad5778b3610a5f870b4757ba628780924dd1 from master
2020-12-17 10:39:21 +01:00
Jon Dufresne
5d41fd22dc [3.1.x] Added backticks to code literals in various docs.
Backport of 550297d20d085bc5a440d905cd3cb2e286588ca8 from master
2020-12-15 07:21:53 +01:00
Matthias Kestenholz
ce7f8c2ead [3.1.x] Adjusted formatting of ngettext docs code examples.
Backport of 62f477d1712575f831e96e6868ed1d96030601be from master
2020-12-08 12:13:01 +01:00
sage
4f7517b5e0 [3.1.x] Fixed #32199 -- Doc'd JSONField in ModelForm field mapping.
Backport of 4a412c2e659f9295973434c65b785b03acee7251 from master
2020-11-17 09:01:13 +01:00
Nick Pope
1f6e7fb4ab [3.1.x] Changed docs and a code comment to use gender-neutral pronouns.
Follow up to e1b77238171cc96f4451a06fb4682e2378896238.

Backport of 477c800443d091b5f36be9b5f83ce16c85da5879 from master.
2020-11-13 22:29:41 +01:00
Hasan Ramezani
eba8d6f5d7 [3.1.x] Fixed #32187 -- Removed unnecessary select_related in queries doc.
Backport of c448e614c60cc97c6194c62052363f4f501e0953 from master
2020-11-12 10:07:11 +01:00
Carles Pina Estany
09dbae21c9 [3.1.x] Fixed #32176 -- Clarified filesystem cache docs.
Backport of a43e2f66d76fddd791ff0b88361faba304447ff9 from master
2020-11-10 11:17:25 +01:00
Carlton Gibson
8b3010a298 [3.1.x] Fixed #32159 -- Ensured AsyncRequestFactory correctly sets headers.
Backport of ebb08d19424c314c75908bc6048ff57c2f872269 from master
2020-11-04 11:09:52 +01:00
Caio Ariede
62f6ab2c4a [3.1.x] Fixed #26962 -- Doc'd running migrations in transactions.
Backport of 9ca22c7733efeeb140b75585c6387ef2cb861d19 from master
2020-10-29 08:39:43 +01:00
Carlton Gibson
d00127ccab [3.1.x] Fixed #32128 -- Added asgiref 3.3 compatibility.
Thread sensitive parameter is True by default from asgiref v3.3.0.
Added an explicit thread_sensitive=False to previously implicit uses.

Backport of e17ee4468875077b90b70bb6a589ebad7493f757 from master
2020-10-27 11:29:31 +01:00
Jon Dufresne
4e7190017b [3.1.x] Corrected output of rendered formset example in model formsets docs.
Backport of 2b56c566532c17dab4916a5a60e4db24a07eaa1a from master
2020-10-26 07:58:38 +01:00
Simon Charette
8aedad6909 [3.1.x] Refs #9475 -- Linked through_default docs to related managers methods.
Backport of 284bde3fbe07485d64289e28014a4eada68aef91 from master
2020-10-22 10:09:41 +02:00
Jacob Walls
18ffdf5c87 [3.1.x] Fixed typo in docs/topics/testing/tools.txt.
Backport of 4e4db426c5b0a18d1fd4dac6fc1342ab7762b288 from master
2020-10-18 19:51:56 +02:00
shivam sharma
b7d58dd5df [3.1.x] Fixed typo in docs/topics/i18n/translation.txt.
Backport of c9f12f149f4c42aa34b3cbea17e964dfbf942cfb from master
2020-10-13 08:32:56 +02:00
Carlton Gibson
d1f791d394 [3.1.x] Fixed #32083 -- Added link back to migrating section in multi-db docs example.
Backport of 1b32b2f614c5c45f4a0f270ae7273c2d8e16617b from master
2020-10-08 12:46:05 +02:00
Carlton Gibson
2c629b37d5 [3.1.x] Fixed #32016 -- Clarified manual logging config docs.
Backport of 2a55431a5678af52f669ffe7dff3dd0bd21727f8 from master
2020-09-22 14:16:40 +02:00
János Roden
1d7c4addbd [3.1.x] Fixed #32004 -- Clarified docs for when request.FILES is set.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>

Backport of 9e4b1ad33e436e8fe60af756d7e09639ee886ac2 from master
2020-09-22 13:28:55 +02:00
David D Lowe
b9ee225d08 [3.1.x] Doc'd that UpdateCacheMiddleware and cache_page affect downstream caches.
Thanks to Nick Pope for review.

Backport of f3901b5899d746dc5b754115d94ce9a045b4db0a from master
2020-09-17 14:29:00 +02:00
jpribyl
3fc636244e [3.1.x] Fixed #31894 -- Added note about using JSONField key lookups with QuerySet.exclude() in docs.
Backport of 17407eca59b0572228067cdee51433f49a1e0adb from master
2020-09-04 10:17:13 +02:00
Mariusz Felisiak
f36c441f80 [3.1.x] Refs #31224 -- Made sync_to_async() examples use thread sensitive with ORM calls.
Backport of 8d59075184f4cd2852b374359850ff7aeb412ec1 from master
2020-09-03 12:07:25 +02:00
Abdullah Dursun
42f8c085a6 [3.1.x] Corrected note about long names in search docs.
Backport of fcad0b132427847d6db2008f00fbe45a7b45cad3 from master
2020-08-31 22:37:20 +02:00
Juan Pedro Fisanotti
af190bf263 [3.1.x] Improved wording in async views docs.
Backport of 41725602afebe2ddb018b99afe134384cc3bf69e from master
2020-08-20 09:08:19 +02:00
David Smith
b2fc5292b2 [3.1.x] Fixed #27679 -- Doc'd that empty formsets display extra + min_num forms.
Backport of e2e34f4de3b90f3820ee11d49cc369ef573bc2ef from master
2020-08-18 22:59:16 +02:00
Roy Zheng
02572bfc59 [3.1.x] Added note about password updates on argon2 attributes change.
Backport of 804f2b70244d435c63f7f7c6312a829bc41b2ca4 from master
2020-08-11 08:20:56 +02:00
Mariusz Felisiak
9857352655 [3.1.x] Fixed #31842 -- Added DEFAULT_HASHING_ALGORITHM transitional setting.
It's a transitional setting helpful in migrating multiple instance of
the same project to Django 3.1+.

Thanks Markus Holtermann for the report and review, Florian
Apolloner for the implementation idea and review, and Carlton Gibson
for the review.

Backport of d907371ef99a1e4ca6bc1660f57d81f265750984 from master.
2020-08-04 09:39:29 +02:00
Mariusz Felisiak
b84b1921da [3.1.x] Refs #27468 -- Added tests and release notes for signing.dumps()/loads() changes.
Follow up to 71c4fb7beb8e3293243140e4bd74e53989196440.

Backport of 1d6fdca557e674b9a789b51caadca8985e588492 from master
2020-07-31 22:07:34 +02:00
Mariusz Felisiak
0e02560535 [3.1.x] Corrected signing.dumps()/loads() signatures in docs.
Backport of 8703680ebee47bfa9e912a30a0509798500bf42a from master
2020-07-31 11:33:50 +02:00
Claude Paroz
06474e929f [3.1.x] Refs #30165 -- Removed leftover 'u' prefix.
Backport of bac5777bff8e8d8189193438b5af52f158a3f2a4 from master
2020-07-29 10:20:08 +02:00
sage
23ce3d8491 [3.1.x] Fixed #31829 -- Used JSONField __contains lookup on key transforms.
Backport of 2d8dcba03aae200aaa103ec1e69f0a0038ec2f85 from master
2020-07-28 20:53:11 +02:00
Mariusz Felisiak
247bcef6b4 [3.1.x] Fixed #31836 -- Dropped support for JSONField __contains and __contained_by lookups on SQLite.
The current implementation works only for basic examples without
supporting nested structures and doesn't follow "the general principle
that the contained object must match the containing object as to
structure and data contents, possibly after discarding some
non-matching array elements or object key/value pairs from the
containing object".

Backport of ba691933cee375195c9c50f333dd4b2a3abbb726 from master.
2020-07-28 13:08:19 +02:00
Mariusz Felisiak
028a5f86f2 [3.1.x] Fixed #31835 -- Dropped support for JSONField __contains lookup on Oracle.
The current implementation works only for basic examples without
supporting nested structures and doesn't follow "the general principle
that the contained object must match the containing object as to
structure and data contents, possibly after discarding some
non-matching array elements or object key/value pairs from the
containing object".
Backport of 02447fb133b53ec7d0ff068cc08f06fdf8817ef7 from master
2020-07-28 11:54:35 +02:00
Adam Johnson
e63644d37b [3.1.x] Refs #31502 -- Made minor edits to Model._state docs.
Backport of 5ef6f626347f9ea13915f3cf5b8b045c5b42b102 from master
2020-07-16 21:12:13 +02:00
Mariusz Felisiak
7045fa7f7a [3.1.x] Refs #27430 -- Added buffer argument to DiscoverRunner docs.
Backport of 188f7786bc434a3e5ca7b46d2975a08318fe7452 from master
2020-07-10 19:06:40 +02:00
Mariusz Felisiak
33457aa3cf [3.1.x] Refs #30676 -- Added pdb argument to DiscoverRunner docs.
Backport of 2c43840dfba42ed02574a270d826fda08e4b50d1 from master
2020-07-10 19:01:39 +02:00
Jason Held
703256fc68 [3.1.x] Fixed #24816 -- Clarified docs about preventing duplicate signals.
Backport of 639142e24d41c5e5a508cb1280f32fd7ff159cca from master
2020-07-08 08:23:08 +02:00
Jacob Walls
eae78a363b [3.1.x] Fixed #29308 -- Clarified how assertQuerysetEqual()'s transform works.
Backport of 659a73bc0a2df9be856e23fcfc6cc66d0d1a35fd from master
2020-07-04 23:48:48 +02:00
MansurAliKoroglu
05206ca4ff [3.1.x] Adjusted multi-db example to avoid confusion with DATABASES keys.
Backport of d88952142bff1c0283a929749fb64c53d07ad91e from master
2020-07-03 12:41:36 +02:00
Adam Johnson
6ed4a9bdb3 [3.1.x] Refs #31493 -- Replaced var with const/let in documentation JS.
Backport of 2afa61e7d99b2ff2656dc64b6e28db88baf786a4 from master
2020-06-24 12:22:54 +02:00
David Smith
9b95c3bc09 [3.1.x] Refs #31670 -- Removed whitelist/blacklist terminology in docs and comments.
Backport of 10df5b71775d8ee98201acb1367266521b17cc00 from master
2020-06-17 13:16:17 +02:00
Hasan Ramezani
ecd794bc68 [3.1.x] Fixed #31696 -- Updated OWASP links in docs.
Backport of a16080810bee8b3baf9ae7ac7b8433cb7b293e00 from master
2020-06-15 09:44:37 +02:00
sebashwa
2d3b6bce28 [3.1.x] Fixed #31690 -- Added note about fuzzy entries in translation docs.
Backport of 3d664a158de18acf72fc8e0671f0f390cbca4b2e from master
2020-06-15 09:05:09 +02:00
Claude Paroz
acaa201527 [3.1.x] Fixed #30134 -- Ensured unlocalized numbers are string representation in templates.
Backport of 9e57b1efb5205bd94462e9de35254ec5ea6eb04e from master
2020-06-04 11:00:40 +02:00
David Smith
52784a83ce [3.1.x] Updated link to Celery.
Backport of 06c8565a4650b359bdfa59f9707eaa0d1dfd7223 from master
2020-06-02 14:37:45 +02:00
Jon Dufresne
d7ee69d2f2 [3.1.x] Fixed #31643 -- Changed virtualenv doc references to Python 3 venv.
Backport of 9f4ceee90aaa2a6af8321417d79330f2fdc620ea from master
2020-06-02 11:53:14 +02:00
Nikita Sobolev
22dac456f3 [3.1.x] Made small improvement to docs/topics/db/multi-db.txt.
Backport of 682b295c6c3f5a2182bdc8192f0b8b65610fe4b1 from master
2020-06-01 10:20:54 +02:00
Jon Dufresne
df1bb7ab21 [3.1.x] Changed some doc links to use intersphinx.
Backport of 494ba27b5fe14e42e815edde6bd4a1216b29c935 from master
2020-05-29 21:10:34 +02:00
Mariusz Felisiak
ebf553397a [3.1.x] Fixed some formatting issues in docs.
Backport of 803e70b1adb71d86eb5bbb4074ef5ff96ae6e55d from master
2020-05-27 09:07:33 +02:00
Carlton Gibson
844e0591f9 [3.1.x] Fixed #31591 -- Clarified "reverse" lookup name in making queries docs.
Backport of 5af17babb0f895cf129fdeee92548d2ac12e78e2 from master
2020-05-19 20:27:29 +02:00
Nick Pope
4eb5e4ee4f [3.1.x] Used :envvar: role and .. envvar:: directive in various docs.
Backport of fbdb032de266ba5f82e061ab204f6c622889d563 from master
2020-05-13 09:38:59 +02:00