1
0
mirror of https://github.com/django/django.git synced 2025-01-09 18:06:34 +00:00
django/docs
Kevin Michel 825ce75fae Fixed #31928 -- Fixed detecting an async get_response in various middlewares.
SecurityMiddleware and the three cache middlewares were not calling
super().__init__() during their initialization or calling the required
MiddlewareMixin._async_check() method.

This made the middlewares not properly present as coroutine and
confused the middleware chain when used in a fully async context.

Thanks Kordian Kowalski for the report.
2020-08-28 12:33:15 +02:00
..
_ext
_theme Fixed #16300 -- Improved singlehtml docs formatting with headers CSS. 2020-06-22 21:05:13 +02:00
faq
howto Fixed #31912 -- Removed strict=True in Path.resolve() in project template and CommonPasswordValidator. 2020-08-28 05:57:36 +02:00
internals Fixed #31877 -- Reverted "Fixed #19878 -- Deprecated TemplateView passing URL kwargs into context." 2020-08-24 11:37:59 +02:00
intro
man
misc
ref Fixed #31918 -- Allowed QuerySet.in_bulk() to fetch on a single distinct field. 2020-08-26 09:43:39 +02:00
releases Fixed #31928 -- Fixed detecting an async get_response in various middlewares. 2020-08-28 12:33:15 +02:00
topics Improved wording in async views docs. 2020-08-20 09:06:50 +02:00
conf.py
contents.txt
glossary.txt
index.txt
make.bat
Makefile
README.rst
spelling_wordlist Fixed #31928 -- Fixed detecting an async get_response in various middlewares. 2020-08-28 12:33:15 +02: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/