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/2.2/ref/databases/#mysql-sql-mode
DATABASES = {
? ? 'default': {
? ? ? ? 'ENGINE': 'django.db.backends.mysql',
? ? ? ? 'NAME': 'mysite',
? ? ? ? 'HOST': '127.0.0.1',
? ? ? ? 'USER': 'root',
? ? ? ? 'PASSWORD': '12345678',
? ? ? ? 'PORT': '3306',
? ? ? ? 'OPTIONS': {
? ? ? ? ? ? 'init_command': 'SET sql_mode="STRICT_TRANS_TABLES"',
? ? ? ? ? ? 'charset': 'utf8'
? ? ? ? }
? ? }
}