django/docs
varunkasyap ce7d65fc81 [6.0.x] Fixed #36743 -- Increased URL max length enforced in HttpResponseRedirectBase.
Refs CVE-2025-64458.

The previous limit of 2048 characters reused the URLValidator constant
and proved too restrictive for legitimate redirects to some third-party
services. This change introduces a separate `MAX_URL_REDIRECT_LENGTH`
constant (defaulting to 16384) and uses it in HttpResponseRedirectBase.

Thanks Jacob Walls for report and review.

Backport of a8cf8c292c from main.
2025-11-26 17:19:18 -03:00
..
_ext Fixed typo in source file linking Sphinx extension. 2024-07-01 11:32:48 -03:00
_theme Fixed docs build with sphinxcontrib-spelling 7.5.0+. 2022-05-31 11:17:01 +02:00
faq [6.0.x] Refs #35844 -- Doc'd Python 3.14 compatibility. 2025-10-17 19:26:34 +02:00
howto [6.0.x] Refs #35844 -- Doc'd Python 3.14 compatibility. 2025-10-17 19:26:34 +02:00
internals [6.0.x] Added GitHub Actions linter (zizmor). 2025-11-21 14:37:19 -05:00
intro [6.0.x] Refs #35844 -- Doc'd Python 3.14 compatibility. 2025-10-17 19:26:34 +02:00
man Updated man page for Django 6.0 alpha 1. 2025-09-17 14:20:40 -03:00
misc Refs #36485 -- Rewrapped docs to 79 columns line length. 2025-08-25 10:51:10 -03:00
ref [6.0.x] Fixed #31506 -- Clarified that ExpressionWrapper does not perform database casts. 2025-11-26 08:34:35 -05:00
releases [6.0.x] Fixed #36743 -- Increased URL max length enforced in HttpResponseRedirectBase. 2025-11-26 17:19:18 -03:00
topics [6.0.x] Fixed #26379 -- Doc'd that the first filter() on a many-to-many relation is sticky. 2025-11-17 15:15:41 -05:00
conf.py [6.0.x] Bumped django_next_version in docs config. 2025-09-17 14:54:41 -03:00
contents.txt Ensured :doc: role uses absolute targets in docs. 2025-08-28 13:48:32 -03:00
glossary.txt Refs #36485 -- Rewrapped docs to 79 columns line length. 2025-08-25 10:51:10 -03:00
index.txt [6.0.x] Refs #35859 -- Mentioned tasks in the docs index. 2025-09-24 09:48:14 +02:00
lint.py Refs #36485 -- Corrected docs linter to detect too-long lines at file end. 2025-08-29 17:35:50 -04:00
make.bat Fixed #36485 -- Added lint-docs check in Tox and GitHub Actions. 2025-08-25 10:51:10 -03:00
Makefile Fixed #36485 -- Added lint-docs check in Tox and GitHub Actions. 2025-08-25 10:51:10 -03:00
README.rst
requirements.txt Refs #36485 -- Added sphinx-lint support and make lint rule for docs. 2025-08-25 10:51:10 -03:00
spelling_wordlist Fixed #35859 -- Added background Tasks framework interface. 2025-09-16 17:28:32 -03:00

The documentation in this tree is in plain text files and can be viewed using
any text file viewer.

It uses `ReST`_ (reStructuredText), and the `Sphinx`_ documentation system.
This allows it to be built into other forms for easier viewing and browsing.

To create an HTML version of the docs:

* Install Sphinx (using ``python -m pip install Sphinx`` or some other method).

* In this docs/ directory, type ``make html`` (or ``make.bat html`` on
  Windows) at a shell prompt.

The documentation in ``_build/html/index.html`` can then be viewed in a web
browser.

.. _ReST: https://docutils.sourceforge.io/rst.html
.. _Sphinx: https://www.sphinx-doc.org/