summaryrefslogtreecommitdiff
path: root/docs/topics/http
AgeCommit message (Collapse)Author
2023-03-01[4.2.x] Fixed #34140 -- Reformatted code blocks in docs with blacken-docs.django-bot
2023-02-28[4.2.x] Refs #34140 -- Corrected rst code-block and various formatting ↵Joseph Victor Zammit
issues in docs. Backport of ba755ca13123d2691a0926ddb64e5d0a2906a880 from main
2023-02-14[4.2.x] Fixed #34328 -- Added async-only class-based middleware example.Carlton Gibson
Backport of ce8189eea007882bbe6db22f86b0965e718bd341 from main
2023-02-10[4.2.x] Refs #34140 -- Applied rst code-block to non-Python examples.Carlton Gibson
Thanks to J.V. Zammit, Paolo Melchiorre, and Mariusz Felisiak for reviews. Backport of 534ac4829764f317cf2fbc4a18354fcc998c1425 from main.
2022-12-22Fixed #33735 -- Added async support to StreamingHttpResponse.Carlton Gibson
Thanks to Florian Vazelle for initial exploratory work, and to Nick Pope and Mariusz Felisiak for review.
2022-12-20Refs #34118 -- Adopted asgiref coroutine detection shims.Carlton Gibson
Thanks to Mariusz Felisiak for review.
2022-12-16Fixed typo in docs/topics/http/sessions.txt.TAKAHASHI Shuuji
2022-10-29Removed obsolete doc reference to asyncio.iscoroutinefunction.Nick Pope
2022-10-10Fixed #25996 -- Revised performance section in URLs topic docs.Ralph Reid
2022-10-07Fixed #33797 -- Prioritized cached database backend for cached sessions in docs.J.V. Zammit
Co-authored-by: Adam Johnson <me@adamj.eu>
2022-08-09Fixed #33842 -- Used :source: role for links to repo files on GitHub.Ramil Yanbulatov
2022-05-31Fixed docs build with sphinxcontrib-spelling 7.5.0+.Mariusz Felisiak
sphinxcontrib-spelling 7.5.0+ includes captions of figures in the set of nodes for which the text is checked.
2022-04-28Removed hyphen from pre-/re- prefixes.David
"prepopulate", "preload", and "preprocessing" are already in the spelling_wordlist. This also removes hyphen from double "e" combinations with "pre" and "re", e.g. preexisting, preempt, reestablish, or reenter. See also: - https://ahdictionary.com/word/search.html?q=rerun - https://ahdictionary.com/word/search.html?q=recreate - https://ahdictionary.com/word/search.html?q=predetermined - https://ahdictionary.com/word/search.html?q=reuse - https://ahdictionary.com/word/search.html?q=reopening
2022-03-31Fixed #32129 -- Adjusted the docs for session expiry helpers.sarahboyce
Updated the docs for `get_session_cookie_age`, `get_expiry_age`, and `get_expiry_date` to clarify their intended usage by session backends when saving the session.
2022-02-03Fixed #32243 -- Added docs examples for manually saving Files.Joshua Massover
2022-02-02Added Redis to warning about using cached sessions in docs.Theofilos Alexiou
2022-02-01Fixed #30360 -- Added support for secret key rotation.tschilling
Thanks Florian Apolloner for the implementation idea. Co-authored-by: Andreas Pelme <andreas@pelme.se> Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> Co-authored-by: Vuyisile Ndlovu <terrameijar@gmail.com>
2022-01-13Fixed #29708 -- Deprecated PickleSerializer.Adam Johnson
2022-01-13Refs #29708 -- Made SessionBase store expiry as string.Adam Johnson
2022-01-07Fixed #28628 -- Changed \d to [0-9] in regexes where appropriate.Ad Timmering
2022-01-04Avoided suggestion of plain text database password in sessions topic.Luke Plant
2021-12-13Fixed #33338 -- Doc'd that never_cache() decorator set Expires header.mgaligniana
2021-11-24Fixed #33298 -- Added docs and tests for using Q objects with ↵mgaligniana
get_object_or_404()/get_list_or_404().
2021-10-18Fixed #33172 -- Added example of modifying upload handlers on the fly for CBVs.sreehari1997
2021-09-20Removed versionadded/changed annotations for 3.2.Mariusz Felisiak
2021-07-30Refs #32956 -- Updated words ending in -wards.David Smith
AP styleguide: Virtually none of the words ending with -wards end with an s.
2021-07-29Fixed 32956 -- Lowercased spelling of "web" and "web framework" where ↵David Smith
appropriate.
2021-04-09Fixed #32535 -- Added note about DEBUG_PROPAGATE_EXCEPTIONS setting to ↵Hasan Ramezani
middleware docs.
2021-03-30Removed dead link in docs/topics/http/sessions.txt.arcanemachine
2021-03-02Fixed #32271 -- Improved consistency of docs CBV examples.Jack Aitken
Co-Authored-By: Carles Pina i Estany <carles@pina.cat>
2021-01-14Removed versionadded/changed annotations for 3.1.Mariusz Felisiak
2020-10-22Fixed #32124 -- Added per-view opt-out for APPEND_SLASH behavior.Carlton Gibson
2020-09-22Fixed #32004 -- Clarified docs for when request.FILES is set.János Roden
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2020-05-13Removed versionadded/changed annotations for 3.0.Mariusz Felisiak
2020-04-15Used :rfc: role in various docs.Mariusz Felisiak
2020-04-01Prevented (and corrected) single backtick usage in docs.Adam Johnson
2020-03-26Clarified async documentation.Adam Johnson
2020-03-25Improved sessions notes in deployment checklist.Adam Johnson
- Added note to clear old sessions when using database-backend. - Made note to consider the cache backend more generic.
2020-03-18Fixed #31224 -- Added support for asynchronous views and middleware.Andrew Godwin
This implements support for asynchronous views, asynchronous tests, asynchronous middleware, and an asynchronous test client.
2020-02-18Refs #26601 -- Deprecated passing None as get_response arg to middleware ↵Claude Paroz
classes. This is the new contract since middleware refactoring in Django 1.10. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2020-01-24Fixed #31184 -- Clarified URL matching behavior in URL dispatcher docs.Roy Smith
2020-01-09Fixed #30995 -- Allowed converter.to_url() to raise ValueError to indicate ↵Jack Cushman
no match.
2020-01-08Clarified that ValueError raised by converter.to_python() means no match ↵Jack Cushman
unless another URL pattern matches.
2019-12-12Fixed #31069, Refs #26431 -- Doc'd RegexPattern behavior change in passing ↵Hasan Ramezani
optional named groups in Django 3.0.
2019-12-06Fixed #31061 -- Ignored positional args in django.urls.resolve() when all ↵Mariusz Felisiak
optional named parameters are missing. Regression in 76b993a117b61c41584e95149a67d8a1e9f49dd1. Thanks Claude Paroz for the report and Carlton Gibson for reviews.
2019-09-06Fixed #30573 -- Rephrased documentation to avoid words that minimise the ↵Tobias Kunze
involved difficulty. This patch does not remove all occurrences of the words in question. Rather, I went through all of the occurrences of the words listed below, and judged if they a) suggested the reader had some kind of knowledge/experience, and b) if they added anything of value (including tone of voice, etc). I left most of the words alone. I looked at the following words: - simply/simple - easy/easier/easiest - obvious - just - merely - straightforward - ridiculous Thanks to Carlton Gibson for guidance on how to approach this issue, and to Tim Bell for providing the idea. But the enormous lion's share of thanks go to Adam Johnson for his patient and helpful review.
2019-07-23Fixed typo in docs/topics/http/sessions.txt.terminator14
2019-07-04Fixed #30600 -- Clarified that ValueError raised by converter.to_python() ↵sp1rs
means no match.
2019-06-26Fixed #30594 -- Added 'private' Cache-Control directive to never_cache() ↵nsasaki128
decorator.
2019-05-24Fixed #30504 -- Corrected redirect() signature in docs.Shashank Parekh