summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Fedoseev <fedoseev.sergey@gmail.com>2017-12-29 21:55:29 +0500
committerTim Graham <timograham@gmail.com>2017-12-29 11:55:29 -0500
commit98e78ac754c56aad94319fe8e16495633c0540bb (patch)
tree684ba4a35ca2b01cac140ec21ccf3dae91757efd
parentb0a2a2b07eea99291a63530a8e4882dbd3141fe2 (diff)
downloaddjango-98e78ac754c56aad94319fe8e16495633c0540bb.tar.gz
Bumped minimum supported mysqlclient version to 1.3.7.
Follow up to ad9390bba27cb41da92f734db4d0e36ef3dfc58f.
-rw-r--r--django/db/backends/mysql/base.py4
-rw-r--r--docs/releases/2.1.txt3
2 files changed, 4 insertions, 3 deletions
diff --git a/django/db/backends/mysql/base.py b/django/db/backends/mysql/base.py
index 6612e10979..4f7abf5bef 100644
--- a/django/db/backends/mysql/base.py
+++ b/django/db/backends/mysql/base.py
@@ -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
diff --git a/docs/releases/2.1.txt b/docs/releases/2.1.txt
index bf69a59762..b48804ab97 100644
--- a/docs/releases/2.1.txt
+++ b/docs/releases/2.1.txt
@@ -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: