Bumped minimum supported mysqlclient version to 1.3.7.

Follow up to ad9390bba2.
This commit is contained in:
Sergey Fedoseev 2017-12-29 21:55:29 +05:00 committed by Tim Graham
parent b0a2a2b07e
commit 98e78ac754
2 changed files with 4 additions and 3 deletions

View File

@ -32,8 +32,8 @@ from .schema import DatabaseSchemaEditor # isort:skip
from .validation import DatabaseValidation # isort:skip
version = Database.version_info
if version < (1, 3, 3):
raise ImproperlyConfigured("mysqlclient 1.3.3 or newer is required; you have %s" % Database.__version__)
if version < (1, 3, 7):
raise ImproperlyConfigured('mysqlclient 1.3.7 or newer is required; you have %s.' % Database.__version__)
# MySQLdb returns TIME columns as timedelta -- they are more like timedelta in

View File

@ -229,7 +229,8 @@ supports PostgreSQL 9.4 and higher.
Miscellaneous
-------------
* ...
* The minimum supported version of ``mysqlclient`` is increased from 1.3.3 to
1.3.7.
.. _deprecated-features-2.1: