From 248d54569ecbc0dd6e0ad444aaa8be6466f12d5d Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 23 Jan 2017 10:44:02 -0500 Subject: [PATCH] Removed MySQL decimal casting. Added in Django 1.0: 92c35a0617836b09aef3b6909579ee368004969b Unknown when it became obsolete. --- django/db/backends/mysql/base.py | 2 -- 1 file changed, 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