Commit Graph

188 Commits

Author SHA1 Message Date
amirreza sohrabi far 6eb6f236f2 [5.1.x] Updated Hypercorn links in docs/howto/deployment/asgi/hypercorn.txt.
Backport of 5a91ad3d71 from main.
2024-10-21 18:32:16 -03:00
SirenityK 76bbeee273 [5.1.x] Updated instruction for deploying with Uvicorn and Gunicorn.
Backport of 03d52d2a52 from main.
2024-09-05 18:33:52 -03:00
Andrew Miller 73fcb14cd8 [5.1.x] Refs #35591 -- Emphasized that runserver is not suitable for production.
Backport of cec62fb99e from main.
2024-08-08 10:10:29 +02:00
Tim Graham 2c4dc64760 Used extlinks for PyPI links.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2023-04-17 06:55:32 +02:00
Carlton Gibson 279e611c01
Refs #31626 -- Noted that Daphne provides a runserver command. 2023-03-07 19:47:55 +01:00
django-bot 14459f80ee Fixed #34140 -- Reformatted code blocks in docs with blacken-docs. 2023-03-01 13:03:56 +01:00
Carlton Gibson 534ac48297 Refs #34140 -- Applied rst code-block to non-Python examples.
Thanks to J.V. Zammit, Paolo Melchiorre, and Mariusz Felisiak for
reviews.
2023-02-10 19:19:13 +01:00
Mariusz Felisiak 490cccbe7e Removed versionadded/changed annotations for 4.1. 2023-01-17 11:49:15 +01:00
Simon Willison 022a864a5d
Fixed #34109 -- Updated instructions for running with Uvicorn.
Co-authored-by: Paolo Melchiorre <paolo@melchiorre.org>
2022-10-26 11:51:15 +02:00
Ramil Yanbulatov c6290bae9d Fixed #33842 -- Used :source: role for links to repo files on GitHub. 2022-08-09 14:44:51 +02:00
Samuel Hartmann 5cc9464e4d Fixed #33544 -- Expanded the TEMPLATES section of the Deployment checklist.
Clarified that the cached template loader is enabled by default when
DEBUG = False.
2022-03-22 12:37:38 +01:00
tschilling 0dcd549bbe Fixed #30360 -- Added support for secret key rotation.
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-02-01 11:12:24 +01:00
Nick Frazier bf4be3711a Improved docs regarding UTF-8 support with Apache and mod_wsgi. 2021-10-08 12:26:06 +02:00
Andrew Northall c23aa73626 Fixed #32964 -- Corrected 'setup'/'set up' usage in docs. 2021-08-17 12:18:07 +02:00
Mariusz Felisiak f331eba6d5
Refs #32880 -- Made remaining titles consistent in how-to documents.
Follow up to 22fbebc744.
2021-07-29 19:11:42 +02:00
David Smith 1024b5e74a Fixed 32956 -- Lowercased spelling of "web" and "web framework" where appropriate. 2021-07-29 06:24:12 +02:00
David Smith acde917456
Refs #32956 -- Lowercased "internet" and "email" where appropriate. 2021-07-28 12:56:56 +02:00
Nick Pope c156e36955 Refs #32720 -- Updated various links in docs to avoid redirects and use HTTPS. 2021-05-17 09:46:09 +02:00
Thomas Grainger c1442e1192
Updated ASGI uvicorn deployment docs. 2020-09-29 10:55:06 +02:00
Phil Jones 1bd1264f2e
Added Hypercorn to ASGI deployment guide. 2020-08-05 12:14:06 +02:00
Jon Dufresne 8ce570f2f2
Fixed #31643 -- Changed virtualenv doc references to Python 3 venv. 2020-06-02 11:45:44 +02:00
Claude Paroz cfa0c0e252
Removed instructions for unsupported Apache versions. 2020-05-25 08:56:50 +02:00
Nick Pope fbdb032de2 Used :envvar: role and .. envvar:: directive in various docs. 2020-05-13 09:14:40 +02:00
Nick Pope a9337b4add Used :pep: role in various docs. 2020-05-13 09:14:04 +02:00
Adam Johnson 1cdfe8d912 Prevented (and corrected) single backtick usage in docs. 2020-04-01 14:55:11 +02:00
Adam Johnson 66b06822d0
Improved sessions notes in deployment checklist.
- Added note to clear old sessions when using database-backend.
- Made note to consider the cache backend more generic.
2020-03-25 12:04:52 +01:00
Katie McLaughlin abeb4599af Refs #30767 -- Improved deployment documentation. 2019-12-20 10:42:56 +01:00
Fredrik 98188cb33d Refs #20935 -- Removed duplicate ToC references.
These sections are being referred to already from other locations. Having multiple references to the same location from the ToC is ambiguous, and causes errors in the EPUB build.
2019-12-04 11:36:40 +01:00
Min ho Kim 103a6f4307 Fixed some typos in comments and docs.
Thanks to Mads Jenson for review.
2019-10-02 15:50:46 +02:00
Katie McLaughlin fee75d2aed Fixed #30767 -- Improved references to deployment documentation.
* Increased tocdepth to expose more complexity of topics.
* Ensured deployment checklist is linked on main doc page.
2019-09-09 10:02:33 +02:00
Tobias Kunze 4a954cfd11 Fixed #30573 -- Rephrased documentation to avoid words that minimise the 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-09-06 13:27:46 +02:00
Frank Wiles fa65b90a96 Updated WSGI servers ordering according to the more commonly used. 2019-07-16 14:43:59 +02:00
Andrew Godwin a415ce70be Fixed #30451 -- Added ASGI handler and coroutine-safety.
This adds an ASGI handler, asgi.py file for the default project layout,
a few async utilities and adds async-safety to many parts of Django.
2019-06-20 12:29:43 +02:00
Ramiro Morales aed89adad5 Fixed #30367 -- Changed "pip install" to "python -m pip install" in docs, comments and hints. 2019-04-18 14:41:15 +02:00
Himanshu Lakhara 22aab8662f Fixed #30004 -- Changed default FILE_UPLOAD_PERMISSION to 0o644. 2019-02-08 14:53:15 -05:00
Mads Jensen 961f8e9985 Updated some links to https and new locations. 2018-11-10 17:40:50 -05:00
Adam Johnson cecd656184 Simplified deployment checklist docs on customizing error views. 2018-10-11 09:50:08 -04:00
Jon Dufresne 82f286cf6f Refs #29784 -- Switched to https:// links where available. 2018-09-26 08:48:47 +02:00
Carlton Gibson ef70af77ec Refs #28540 -- Added FILE_UPLOAD_PERMISSIONS to deployment checklist. 2018-08-04 10:39:22 -04:00
Mariusz Felisiak 7c81b28ebc
Updated various links in docs to use HTTPS. 2018-01-07 14:28:41 +01:00
Tim Graham 2503ad5154 Fixed #28327 -- Removed contradictory description of mod_wsgi docs. 2017-06-20 07:35:55 -04:00
Claude Paroz 01f658644a Updated various links in docs to avoid redirects
Thanks Tim Graham and Mariusz Felisiak for review and completion.
2017-05-22 19:28:44 +02:00
Richard Barrell 351835f262 Fixed #28031 -- Removed notes about old uWSGI/sentry versions (refs #20537). 2017-04-06 09:09:49 -04:00
Tim Graham 103e6cf26c Fixed #27823 -- Updated mod_wsgi example to use WSGIPythonHome. 2017-02-13 19:52:08 -05:00
Tim Graham f6acd1d271 Refs #23919 -- Removed Python 2 notes in docs. 2017-01-18 11:51:29 -05:00
Adam Chainz 755406f5ff Fixed #27641 -- Doc'd default local-memory caching in deployment checklist. 2016-12-28 19:43:01 -05:00
Tim Graham 93a081946d Normalized casing of "custom user model". 2016-11-23 15:14:28 -05:00
Daniel Musketa 66505b72c5 Updated doc links to virtualenv website. 2016-11-22 08:36:41 -05:00
akki 74ed20b49a Replaced "django" with "Django" in spelling_wordlist. 2016-11-15 17:00:50 -05:00
Laurent bceade84a7 Fixed typos in docs/howto/deployment/checklist.txt. 2016-09-29 19:59:00 -04:00