summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-01-23 10:44:02 -0500
committerGitHub <noreply@github.com>2017-01-23 10:44:02 -0500
commit248d54569ecbc0dd6e0ad444aaa8be6466f12d5d (patch)
treeb8605cbaa2d0dcdbc41d11cec4c842fb8e6570ec
parent5fa390ee81c5a963fc4476e8de6c1e5e1fc57e22 (diff)
Removed MySQL decimal casting.
Added in Django 1.0: 92c35a0617836b09aef3b6909579ee368004969b Unknown when it became obsolete.
-rw-r--r--django/db/backends/mysql/base.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/django/db/backends/mysql/base.py b/django/db/backends/mysql/base.py
index 38c349caea..60cf4b9df5 100644
--- a/django/db/backends/mysql/base.py
+++ b/django/db/backends/mysql/base.py
@@ -49,8 +49,6 @@ if (version < (1, 2, 1) or (
django_conversions = conversions.copy()
django_conversions.update({
FIELD_TYPE.TIME: backend_utils.typecast_time,
- FIELD_TYPE.DECIMAL: backend_utils.typecast_decimal,
- FIELD_TYPE.NEWDECIMAL: backend_utils.typecast_decimal,
})
# This should match the numerical portion of the version numbers (we can treat