mirror of
https://github.com/django/django.git
synced 2025-07-18 00:29:13 +00:00
[3.0.x] Fixed some formatting issues in docs.
Backport of 803e70b1adb71d86eb5bbb4074ef5ff96ae6e55d from master.
This commit is contained in:
parent
f175e03fc2
commit
24cffddc6f
@ -123,7 +123,7 @@ If you're using MySQL, the following checks will be performed:
|
|||||||
* **mysql.E001**: MySQL does not allow unique ``CharField``\s to have a
|
* **mysql.E001**: MySQL does not allow unique ``CharField``\s to have a
|
||||||
``max_length`` > 255.
|
``max_length`` > 255.
|
||||||
* **mysql.W002**: MySQL Strict Mode is not set for database connection
|
* **mysql.W002**: MySQL Strict Mode is not set for database connection
|
||||||
'<alias>'. See also :ref:`mysql-sql-mode`.
|
``<alias>``. See also :ref:`mysql-sql-mode`.
|
||||||
|
|
||||||
Model fields
|
Model fields
|
||||||
------------
|
------------
|
||||||
@ -373,8 +373,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
|
set to ``True``, so your pages will not be served with an
|
||||||
``'X-XSS-Protection: 1; mode=block'`` header. You should consider enabling
|
``'X-XSS-Protection: 1; mode=block'`` header. You should consider enabling
|
||||||
this header to activate the browser's XSS filtering and help prevent XSS
|
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``
|
attacks. *This check is removed in Django 3.0 as the* ``X-XSS-Protection``
|
||||||
header is no longer honored by modern browsers.*
|
*header is no longer honored by modern browsers.*
|
||||||
* **security.W008**: Your :setting:`SECURE_SSL_REDIRECT` setting is not set to
|
* **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
|
``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
|
connections, you may want to either set this setting to ``True`` or configure
|
||||||
|
Loading…
x
Reference in New Issue
Block a user