summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorParth Verma <v.parth98@gmail.com>2020-07-23 11:48:58 +0530
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-07-24 10:41:55 +0200
commit41065cfed56d5408dd8f267b9e70089471a7f1be (patch)
treed16d1947f5c2419e199c23cdf16133c5135670cd /docs
parent248d03fbe932b0844c628e56dafba334f9e028e4 (diff)
Fixed #31802 -- Added system check for non-integer SITE_ID.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/checks.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt
index 97d2c1d097..2f50b2152a 100644
--- a/docs/ref/checks.txt
+++ b/docs/ref/checks.txt
@@ -85,6 +85,7 @@ Django's system checks are organized using the following tags:
* ``models``: Checks of model, field, and manager definitions.
* ``security``: Checks security related configuration.
* ``signals``: Checks on signal declarations and handler registrations.
+* ``sites``: Checks :mod:`django.contrib.sites` configuration.
* ``staticfiles``: Checks :mod:`django.contrib.staticfiles` configuration.
* ``templates``: Checks template related configuration.
* ``translation``: Checks translation related configuration.
@@ -101,6 +102,10 @@ Some checks may be registered with multiple tags.
The ``database`` checks are now run only for database aliases specified
using the :option:`check --database` option.
+.. versionchanged:: 3.2
+
+ The ``sites`` tag was added.
+
Core system checks
==================
@@ -813,6 +818,11 @@ The following checks are performed on any model using a
* **sites.E002**: ``CurrentSiteManager`` cannot use ``<field>`` as it is not a
foreign key or a many-to-many field.
+The following checks verify that :mod:`django.contrib.sites` is correctly
+configured:
+
+* **sites.E101**: The :setting:`SITE_ID` setting must be an integer.
+
``staticfiles``
---------------