django的使用INNODE的方式,排除错误MySQL Strict Mode is not set for database connection 'default'
出现如下错误:解决办法:DATABASES={'default':{'ENGINE':'django.db.backends.mysql','NAME':'mxshop','HOST':'127.0.0.1','PORT':'3306','USER':'mxshop','PASSWORD':'BSfdsfdsmxF','OPTIONS':{"init_command":"SETdefault_st