diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-05-27 09:07:02 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-05-27 09:07:33 +0200 |
| commit | ebf553397a99c20942f8b798861ac5c20d2eb0c6 (patch) | |
| tree | 8d32417b9f0fa55ca0a67c4b51d785533bfe9bf1 /docs | |
| parent | df88f24b1f5805fc388a2184e56b964746608bf4 (diff) | |
[3.1.x] Fixed some formatting issues in docs.
Backport of 803e70b1adb71d86eb5bbb4074ef5ff96ae6e55d from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/checks.txt | 6 | ||||
| -rw-r--r-- | docs/topics/async.txt | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index 1259a4a285..d0cc4b163b 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -146,7 +146,7 @@ If you're using MySQL or MariaDB, the following checks will be performed: ``max_length`` > 255. *This check was changed to* ``mysql.W003`` *in Django 3.1 as the real maximum size depends on many factors.* * **mysql.W002**: MySQL/MariaDB Strict Mode is not set for database connection - '<alias>'. See also :ref:`mysql-sql-mode`. + ``<alias>``. See also :ref:`mysql-sql-mode`. * **mysql.W003**: MySQL/MariaDB may not allow unique ``CharField``\s to have a ``max_length`` > 255. @@ -413,8 +413,8 @@ The following checks are run if you use the :option:`check --deploy` option: set to ``True``, so your pages will not be served with an ``'X-XSS-Protection: 1; mode=block'`` header. You should consider enabling this header to activate the browser's XSS filtering and help prevent XSS - attacks. *This check is removed in Django 3.0 as the ``X-XSS-Protection`` - header is no longer honored by modern browsers.* + attacks. *This check is removed in Django 3.0 as the* ``X-XSS-Protection`` + *header is no longer honored by modern browsers.* * **security.W008**: Your :setting:`SECURE_SSL_REDIRECT` setting is not set to ``True``. Unless your site should be available over both SSL and non-SSL connections, you may want to either set this setting to ``True`` or configure diff --git a/docs/topics/async.txt b/docs/topics/async.txt index 09a4775966..978d383308 100644 --- a/docs/topics/async.txt +++ b/docs/topics/async.txt @@ -62,7 +62,7 @@ If you want to use these, you will need to deploy Django using <async-middleware>` contexts. Some of Django's middleware is built like this, but not all. To see what middleware Django has to adapt, you can turn on debug logging for the ``django.request`` logger and look for log - messages about *`"Synchronous middleware ... adapted"*. + messages about *"Synchronous middleware ... adapted"*. In both ASGI and WSGI mode, you can still safely use asynchronous support to run code in parallel rather than serially. This is especially handy when |
