Skip to content

Commit

Permalink
Run MySQL tests in strict mode
Browse files Browse the repository at this point in the history
  • Loading branch information
gordonje committed Apr 14, 2017
1 parent 17ba04b commit 354a1a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions example/settings_test_multi_dbs.py.template
Expand Up @@ -16,6 +16,7 @@ DATABASES = {
'PORT': '3306',
'OPTIONS': {
'local_infile': 1,
'init_command': "SET sql_mode='STRICT_TRANS_TABLES'",
}
}
}
1 change: 1 addition & 0 deletions example/settings_test_mysql.py.template
Expand Up @@ -8,6 +8,7 @@ DATABASES = {
'PORT': '3306',
'OPTIONS': {
'local_infile': 1,
'init_command': "SET sql_mode='STRICT_TRANS_TABLES'",
}
}
}

0 comments on commit 354a1a6

Please sign in to comment.