summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2016-03-19 12:15:59 +0100
committerClaude Paroz <claude@2xlibre.net>2016-04-08 20:34:16 +0200
commitf9a2a7db173b53f9cb0cd2d3def80d4eed72631c (patch)
treefa6cfafbf9e6473ca8300d3e43d7481b6b9cdb19 /docs
parent0d3c616fbb2f49fa7ff6809e5a6777275352b35b (diff)
Fixed #26351 -- Added MySQL check to warn about strict mode option
Thanks Adam Chainz for the initial implementation in django-mysql. Thanks Adam Chainz, Tim Graham, and Shai Berger for the reviews.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/checks.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt
index a332df2071..7c15bbeb7b 100644
--- a/docs/ref/checks.txt
+++ b/docs/ref/checks.txt
@@ -592,6 +592,8 @@ If you're using MySQL, the following checks will be performed:
* **mysql.E001**: MySQL does not allow unique ``CharField``\s to have a
``max_length`` > 255.
+* **mysql.W002**: MySQL Strict Mode is not set for database connection
+ '<alias>'. See also :ref:`mysql-sql-mode`.
Templates
---------