Commit a183259e authored by Daniel W Bond's avatar Daniel W Bond

I got a warning about mysql truncationthings: see this:...

I got a warning about mysql truncationthings: see this: https://docs.djangoproject.com/en/1.10/ref/databases/#mysql-sql-mode
parent 20f68274
......@@ -102,6 +102,9 @@ DATABASES = {
'PASSWORD': secret.DB_PASSWORD,
'HOST': secret.DB_HOST,
'PORT': secret.DB_PORT,
'OPTIONS': {
'init_command': "SET sql_mode='STRICT_TRANS_TABLES'",
},
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment