Django 链接数据库错误 Strick Mode 解决

报错信息:

WARNINGS:
?: (mysql.W002) MySQL Strict Mode is not set for database connection ‘default‘
HINT: MySQL‘s Strict Mode fixes many data integrity problems in MySQL, such as data truncation upon insertion, by escalating warnings into errors. It is strongly recommended you activate it. See:
https://docs.djangoproject.com/en/1.11/ref/databases/#mysql-sql-mode

原文地址:https://www.cnblogs.com/hanbowen/p/9561962.html