From 264771f1b60c048d70fc439535392092b0403f93 Mon Sep 17 00:00:00 2001 From: Brian Rosner Date: Sat, 23 Aug 2008 04:14:23 +0000 Subject: [PATCH] Fixed #7536 -- Added NEWDECIMAL to introspection types in the mysql backend. Thanks Jerome Etienne for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8475 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/db/backends/mysql/introspection.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django/db/backends/mysql/introspection.py b/django/db/backends/mysql/introspection.py index 0aa635a8d7..d8d59b73a1 100644 --- a/django/db/backends/mysql/introspection.py +++ b/django/db/backends/mysql/introspection.py @@ -10,6 +10,7 @@ class DatabaseIntrospection(BaseDatabaseIntrospection): FIELD_TYPE.BLOB: 'TextField', FIELD_TYPE.CHAR: 'CharField', FIELD_TYPE.DECIMAL: 'DecimalField', + FIELD_TYPE.NEWDECIMAL: 'DecimalField', FIELD_TYPE.DATE: 'DateField', FIELD_TYPE.DATETIME: 'DateTimeField', FIELD_TYPE.DOUBLE: 'FloatField',