Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #7536 -- Added NEWDECIMAL to introspection types in the mysql b…

…ackend. Thanks Jerome Etienne for the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8475 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 264771f1b60c048d70fc439535392092b0403f93 1 parent 77c7820
@brosner brosner authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  django/db/backends/mysql/introspection.py
View
1  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',
Please sign in to comment.
Something went wrong with that request. Please try again.