2861 Commits

Author SHA1 Message Date
Mariusz Felisiak
024e969062 [3.1.x] Changed IRC references to Libera.Chat.
Backport of 66491f08fe86629fa25977bb3dddda06959f65e7 from main.
2021-05-20 12:29:31 +02:00
Mariusz Felisiak
11d241dcf7 [3.1.x] Refs #25735 -- Added tags/exclude_tags arguments to DiscoverRunner docs.
Backport of 37044817f9a57126d655f216019e8c8cca7c151b from main.
2021-03-19 08:11:22 +01:00
Mariusz Felisiak
4a10c312c7 [3.1.x] Added parallel argument to DiscoverRunner docs.
Follow up to cd9fcd4e8073490a52c9e79133ada4661cb7db38.

Backport of f099ef3ef53f88160d04d7dcc73859801b05a83e from main.
2021-03-19 08:09:46 +01:00
Mariusz Felisiak
c528c71007 [3.1.x] Corrected DiscoverRunner.build_suite() signature.
Follow up to 9012833af857e081b515ce760685b157638efcef.

Backport of fc6fba0aa9e4575c9a1c23ad7031eebb1c112868 from main
2021-03-19 08:08:07 +01:00
Jozef
b58b214856 [3.1.x] Fixed typo in docs/topics/testing/advanced.txt.
Backport of 6993e1bf6dff04b6e3ab284b154397b341463b50 from main
2021-03-17 18:50:24 +01:00
Jacob Walls
200b71b593 [3.1.x] Fixed typos in assertQuerysetEqual() docs and 1.6 release notes.
Backport of 0c7e880e13b837dd76276c04ebdc338bb76d1379 from master
2021-02-26 09:12:22 +01:00
David Smith
921ffcbb03 [3.1.x] Fixed #32438 -- Fixed typo in docs/topics/testing/tools.txt.
Backport of e412b288455dd3ea6f1d65c8ec5d01751e489976 from master
2021-02-12 09:21:42 +01:00
Anil Khatri
4f5e550cda [3.1.x] Fixed #32408 -- Doc'd django.views.generic.detail.BaseDetailView.
Backport of de4492fbb1e48f8b258baa182220d4247f345177 from master
2021-02-08 07:09:09 +01:00
Adam Johnson
a271d8c15c [3.1.x] Modernized custom manager example
Since this example was added 15 years ago in a8ccdd0fcd631e8e928ef20547e1fe3e313dc607, the ORM has gained the ability to do the `COUNT(*)` related query, so do it with the ORM to avoid misleading users that raw SQL is only supported from manager methods.

Backport of 59e503b6708d41a44f2aa320272de3e2ecb5d65c from master
2021-01-28 16:02:15 +01:00
Carles Pina Estany
ed616ffe94 [3.1.x] Fixed cross-link in CBV topic documentation.
Backport of 7072bff1fd13ea706b2dc0ca10feef755872eb68 from master
2021-01-14 11:19:29 +01:00
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