Open Apkawa opened 14 years ago
This patch does not detect MySQL correctly - settings.DATABASES['default']['ENGINE'] is a dotted-notation string like "django.db.backends.mysql" so comparing with "mysql" is wrong.
Also, "default" should be replaced with DEFAULT_DB_ALIAS.
Also, you make an unrelated change to the end of the file.
Hi. I written path http://paste.pocoo.org/show/263575/
In django new config as DATABASES[key]['ENGINE']