From f9a2a7db173b53f9cb0cd2d3def80d4eed72631c Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Sat, 19 Mar 2016 12:15:59 +0100 Subject: 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. --- docs/ref/checks.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs') 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 + ''. See also :ref:`mysql-sql-mode`. Templates --------- -- cgit v1.3