Commit Graph

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 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
Hasan Ramezani ecd794bc68 [3.1.x] Fixed #31696 -- Updated OWASP links in docs.
Backport of a16080810b 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 3d664a158d 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 9e57b1efb5 from master
2020-06-04 11:00:40 +02:00
David Smith 52784a83ce [3.1.x] Updated link to Celery.
Backport of 06c8565a46 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 9f4ceee90a 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 682b295c6c 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 494ba27b5f from master
2020-05-29 21:10:34 +02:00
Mariusz Felisiak ebf553397a [3.1.x] Fixed some formatting issues in docs.
Backport of 803e70b1ad 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 5af17babb0 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 fbdb032de2 from master
2020-05-13 09:38:59 +02:00