mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Refs #12990 -- Bumped mysqlclient requirement to >= 1.4.0.
MySQLdb.constants.FIELD_TYPE.JSON was added in mysqlclient 1.4.0rc2.
This commit is contained in:
parent
6137ec2bf2
commit
f97f71f592
@ -32,8 +32,8 @@ from .schema import DatabaseSchemaEditor # isort:skip
|
|||||||
from .validation import DatabaseValidation # isort:skip
|
from .validation import DatabaseValidation # isort:skip
|
||||||
|
|
||||||
version = Database.version_info
|
version = Database.version_info
|
||||||
if version < (1, 3, 13):
|
if version < (1, 4, 0):
|
||||||
raise ImproperlyConfigured('mysqlclient 1.3.13 or newer is required; you have %s.' % Database.__version__)
|
raise ImproperlyConfigured('mysqlclient 1.4.0 or newer is required; you have %s.' % Database.__version__)
|
||||||
|
|
||||||
|
|
||||||
# MySQLdb returns TIME columns as timedelta -- they are more like timedelta in
|
# MySQLdb returns TIME columns as timedelta -- they are more like timedelta in
|
||||||
|
@ -361,7 +361,7 @@ Connector/Python includes `its own`_.
|
|||||||
mysqlclient
|
mysqlclient
|
||||||
~~~~~~~~~~~
|
~~~~~~~~~~~
|
||||||
|
|
||||||
Django requires `mysqlclient`_ 1.3.13 or later.
|
Django requires `mysqlclient`_ 1.4.0 or later.
|
||||||
|
|
||||||
MySQL Connector/Python
|
MySQL Connector/Python
|
||||||
~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
@ -690,6 +690,9 @@ Miscellaneous
|
|||||||
* The auto-reloader no longer monitors changes in built-in Django translation
|
* The auto-reloader no longer monitors changes in built-in Django translation
|
||||||
files.
|
files.
|
||||||
|
|
||||||
|
* The minimum supported version of ``mysqlclient`` is increased from 1.3.13 to
|
||||||
|
1.4.0.
|
||||||
|
|
||||||
.. _deprecated-features-3.1:
|
.. _deprecated-features-3.1:
|
||||||
|
|
||||||
Features deprecated in 3.1
|
Features deprecated in 3.1
|
||||||
|
@ -1 +1 @@
|
|||||||
mysqlclient >= 1.3.13
|
mysqlclient >= 1.4.0
|
||||||
|
Loading…
Reference in New Issue
Block a user