658 Commits

Author SHA1 Message Date
Mariusz Felisiak
1a9098166e [3.2.x] Fixed docs build with sphinxcontrib-spelling 7.5.0+.
sphinxcontrib-spelling 7.5.0+ includes captions of figures in the set
of nodes for which the text is checked.

Backport of ac90529cc58507d9a07610809a795ec5fc3cbf8c from main.
2022-06-27 08:10:48 +02:00
Mariusz Felisiak
d95a0144e5 [3.2.x] Used backend vendors in custom model fields docs.
Backport of d7394cfa13a4d1a02356e3a83e10ec100fbb9948 from main
2021-08-24 16:17:13 +02:00
Nick Pope
cb91b2d9e3 [3.2.x] Refs #32720 -- Updated various links in docs to avoid redirects and use HTTPS.
Backport of c156e369553c75a30c78b8ed54a57b1101865105 from main
2021-05-17 12:16:09 +02:00
David Smith
d6b6eda4ed [3.2.x] Fixed #26721 -- Doc'd setting UTF-8 on Windows.
Backport of 0456d3e42795481a186db05719300691fe2a1029 from main
2021-05-12 20:46:31 +02:00
Carlton Gibson
d716d30a19 [3.2.x] Refs #32694 -- Clarified when colorama requirement is needed in Windows how-to.
Backport of 4f128fcf5dd5099a5ea374a87cad64852a9b62dd from main
2021-04-29 11:27:39 +02:00
Abhyudai
7d7c6d9a3a [3.2.x] Fixed #32667 -- Added link to labeling checks in BaseCommand.requires_system_checks docs.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Backport of 4a77aeb1f86bc06e18023cac10109e067ed20800 from main
2021-04-21 16:40:33 +02:00
William Schwartz
a118564ae1 [3.2.x] Refs #32105 -- Moved ExceptionReporter template paths to properties.
Refs #32316.

Backport of 7248afe12f40361870388ecdd7e0038eb0d58e47 from main
2021-03-31 09:11:39 +02:00
Markus Holtermann
76873b830c [3.2.x] Updated links to DEPs.
Backport of 7cc6899d4176539e5d59a2e921b938904d3a8944 from master
2021-02-25 17:27:32 +01:00
Amankumar Singh
d192d751e1 [3.2.x] Fixed #32419 -- Clarified URLconf in example of serving media files.
Backport of 51637222b6eeed81d9ce6f5d24e22e249c605ba3 from master
2021-02-05 15:34:28 +01:00
Mariusz Felisiak
de4e854f07 [3.2.x] Corrected versionadded annotations.
Backport of 73ffc73b68d3c1fc1e51f13963718492303a2941 from master
2021-01-19 11:58:37 +01:00
MinchinWeb
f1585c54d0
Fixed #31216 -- Added support for colorama terminal colors on Windows.
Modern setups on Windows support terminal colors.
The colorama library may also be used, as an
alternative to the ANSICON library.
2020-11-11 14:27:10 +01:00
Nikita Sobolev
42f3fafdfa
Updated {% static %} tag examples in docs to use single quotes where appropriate. 2020-11-02 10:34:24 +01:00
Aarni Koskela
68e33b347d Fixed #32105 -- Added template paths as ExceptionReporter class attributes.
This allows replacement of the debugging templates without having to
copy-paste the `get_traceback_html` and `get_traceback_text` functions
into a subclass.

Thanks to Nick Pope for review.
2020-10-15 13:56:15 +02:00
Tom Carrick
dcb69043d0 Fixed #32002 -- Added headers parameter to HttpResponse and subclasses. 2020-10-07 09:19:57 +02:00
Thomas Grainger
c1442e1192
Updated ASGI uvicorn deployment docs. 2020-09-29 10:55:06 +02:00
Tom Carrick
bcc2befd0e Fixed #31789 -- Added a new headers interface to HttpResponse. 2020-09-14 08:41:59 +02:00
Mariusz Felisiak
e39e727ded
Fixed #31912 -- Removed strict=True in Path.resolve() in project template and CommonPasswordValidator.
This caused permission errors when user didn't have permissions to
all intermediate directories in a Django installation path.

Thanks tytusd and leonyxz for reports.

Regression in edeec1247e52de6fc32cee93e96d4ce36003ea4b and
26554cf5d1e96db10d0d5f4b69683a22fb82fdf8.
2020-08-28 05:57:36 +02:00
Phil Jones
1bd1264f2e
Added Hypercorn to ASGI deployment guide. 2020-08-05 12:14:06 +02:00
David Smith
2c2f4b3799 Fixed #29336 -- Doc'd circular template inheritance 2020-08-05 11:36:14 +02:00
Ramiro Morales
52a0a03671 Corrected custom model fields how-to.
get_prep_value() method is complementary of from_db_value().

Follow up to e9103402c0fa873aea58a6a11dba510cd308cb84.
2020-07-10 11:11:40 +02:00
David Smith
dbdc192ca3 Preferred usage of among/while to amongst/whilst. 2020-06-03 21:02:48 +02:00
David Smith
25352dc019
Updated How to install Django on Windows guide. 2020-06-03 16:28:10 +02:00
Jon Dufresne
8ce570f2f2
Fixed #31643 -- Changed virtualenv doc references to Python 3 venv. 2020-06-02 11:45:44 +02:00
René Fleschenberg
578b3046e3 Reverted "Refs #23919 -- Removed obsolete __init__.py files in management command directories."
This reverts commit ccc25bfe4f0964a00df3af6f91c2d9e20159a0c2.

https://groups.google.com/d/topic/django-developers/GVHMH2ciAnk/discussion
2020-06-01 10:55:41 +02:00
Jon Dufresne
494ba27b5f
Changed some doc links to use intersphinx. 2020-05-29 21:09:57 +02:00
David Smith
922ff51f5a Fixed #31628 -- Updated Windows install guide to recommend venv. 2020-05-27 11:18:23 +02:00
Claude Paroz
cfa0c0e252
Removed instructions for unsupported Apache versions. 2020-05-25 08:56:50 +02:00
Hasan Ramezani
c60524c658 Fixed #31546 -- Allowed specifying list of tags in Command.requires_system_checks. 2020-05-21 12:34:54 +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
Mariusz Felisiak
4c5236ef93 Removed versionadded/changed annotations for 3.0. 2020-05-13 09:07:51 +02:00
Adam Johnson
d17b380653 Refs #30573 -- Rephrased "Of Course" and "Obvious(ly)" in documentation and comments. 2020-05-04 12:10:47 +02:00
David Smith
bb13711451 Fixed #25712 -- Reorganized templates docs. 2020-04-30 08:12:09 +02:00
Adam Johnson
8e8c3f964e Refs #29501 -- Allowed customizing exit status for management commands. 2020-04-14 13:22:47 +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
Mariusz Felisiak
2117b7c12e
Updated settings example in overriding templates docs.
Follow up to ba4389a36b5fb1afce0cddb4e28233138b6612b7.
2020-03-21 20:02:57 +01:00
Adam Johnson
a9ee6872bd Clarified SeparateDatabaseAndState docs and added example of changing ManyToManyField.
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Co-Authored-By: Carlton Gibson <carlton.gibson@noumenal.es>
Co-Authored-By: René Fleschenberg <rene@fleschenberg.net>
2020-03-10 11:07:36 +01:00
Mariusz Felisiak
30ca66eadd
Added missing backticks in various docs. 2020-03-06 11:52:49 +01:00
Nick Pope
335c9c94ac Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
Abhijeet
a45c8d7ad0
Fixed #31126 -- Doc'd STATICFILES_DIRS namespacing in static files how-to. 2020-01-29 10:34:34 +01:00
Adam Johnson
e4bc4f26b2 Made examples concrete in upgrade documentation. 2020-01-21 13:02:14 +01:00
Takayuki Hirayama
73563183c2 Fixed #31171 -- Fixed wording in auto-escaping section of custom template tags docs. 2020-01-17 09:20:44 +01:00
Pavel Lysak
13e4abf83e Fixed #30752 -- Allowed using ExceptionReporter subclasses in error reports. 2020-01-16 15:25:49 +01:00
Carlton Gibson
e2d9d66a22 Fixed #23004 -- Added request.META filtering to SafeExceptionReporterFilter.
Co-authored-by: Ryan Castner <castner.rr@gmail.com>
2020-01-10 11:35:41 +01:00
Carlton Gibson
581ba5a948 Refs #23004 -- Allowed exception reporter filters to customize settings filtering.
Thanks to Tim Graham for the original implementation idea.

Co-authored-by: Daniel Maxson <dmaxson@ccpgames.com>
2020-01-10 11:21:23 +01:00
Katie McLaughlin
abeb4599af Refs #30767 -- Improved deployment documentation. 2019-12-20 10:42:56 +01:00
Nick Pope
d8b6a76bc7 Refs #28954 -- Remove remaining Jython documentation.
There is still no further progress on Jython 3 since support for Jython
was stripped in Django 2.0. The developers experimenting with Jython 3
have stated that they would need to start from scratch, so it doesn't
look as though it will materialize for years to come.

Python 2 and Django 1.11, the last version to support Python 2.7, will
both be end-of-life before Django 3.1 is released. We should no longer
instruct users to use an unsupported version of Django.
2019-12-19 16:42:12 +01:00
Adam Johnson
ef3baf966d Updated Pytest example in upgrade documentation.
Pytest changed their recommended entrypoint to 'pytest' in version 3.0.0 in 2016 : https://docs.pytest.org/en/latest/changelog.html#id1009. Also link the name since this is the only reference in the Django documentation at current.
2019-12-18 10:42:41 +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