diff --git a/README.rst b/README.rst index 7dd2f1c..1285548 100644 --- a/README.rst +++ b/README.rst @@ -65,7 +65,7 @@ Libraries you would want to check: * libjpeg (for JPEG support in ``Pillow``) * zlib (for PNG support in ``Pillow``) * postgresql (for ``psycopg2``) -* libmysqlclient (for ``Mysql-Python``) +* libmysqlclient (for ``Mysql``) * python-dev (for compilation and linking) For additional information, check http://djangocms-installer.readthedocs.org/en/latest/libraries.html diff --git a/djangocms_installer/config/data.py b/djangocms_installer/config/data.py index 0f4981d..ba72e7a 100644 --- a/djangocms_installer/config/data.py +++ b/djangocms_installer/config/data.py @@ -196,7 +196,7 @@ DRIVERS = { 'django.db.backends.postgresql_psycopg2': 'psycopg2', 'django.db.backends.postgresql_postgis': 'postgis', - 'django.db.backends.mysql': 'MySQL-python', + 'django.db.backends.mysql': 'mysqlclient', 'django.db.backends.sqlite3': '', } diff --git a/djangocms_installer/install/__init__.py b/djangocms_installer/install/__init__.py index 526f774..c6e5ccc 100644 --- a/djangocms_installer/install/__init__.py +++ b/djangocms_installer/install/__init__.py @@ -64,7 +64,7 @@ def check_install(config_data): ) # MySQL test - if config_data.db_driver == 'MySQL-python' and not config_data.no_db_driver: # pragma: no cover # NOQA + if config_data.db_driver == 'mysqlclient' and not config_data.no_db_driver: # pragma: no cover # NOQA try: import MySQLdb # NOQA except ImportError: