Commit Graph

2861 Commits

Author SHA1 Message Date
Mariusz Felisiak 024e969062 [3.1.x] Changed IRC references to Libera.Chat.
Backport of 66491f08fe 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 37044817f9 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 cd9fcd4e80.

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

Backport of fc6fba0aa9 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 6993e1bf6d 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 0c7e880e13 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 e412b28845 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 de4492fbb1 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 a8ccdd0fcd, 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 59e503b670 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 7072bff1fd 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 d3b3eb860d 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 d23dad5778 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 550297d20d 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 62f477d171 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 4a412c2e65 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 e1b7723817.

Backport of 477c800443 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 c448e614c6 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 a43e2f66d7 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 ebb08d1942 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 9ca22c7733 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 e17ee44688 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 2b56c56653 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 284bde3fbe 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 4e4db426c5 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 c9f12f149f 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 1b32b2f614 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 2a55431a56 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 9e4b1ad33e 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 f3901b5899 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 17407eca59 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 8d59075184 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 fcad0b1324 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 41725602af 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 e2e34f4de3 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 804f2b7024 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 d907371ef9 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 71c4fb7beb.

Backport of 1d6fdca557 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 8703680ebe from master
2020-07-31 11:33:50 +02:00
Claude Paroz 06474e929f [3.1.x] Refs #30165 -- Removed leftover 'u' prefix.
Backport of bac5777bff 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 2d8dcba03a 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 ba691933ce 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 02447fb133 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 5ef6f62634 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 188f7786bc 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 2c43840dfb 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 639142e24d 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 659a73bc0a 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 d88952142b 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 2afa61e7d9 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 10df5b7177 from master
2020-06-17 13:16:17 +02:00