Author: brosner
Date: 2008-08-22 23:14:23 -0500 (Fri, 22 Aug 2008)
New Revision: 8475

Modified:
   django/trunk/django/db/backends/mysql/introspection.py
Log:
Fixed #7536 -- Added NEWDECIMAL to introspection types in the mysql backend. 
Thanks Jerome Etienne for the patch.

Modified: django/trunk/django/db/backends/mysql/introspection.py
===================================================================
--- django/trunk/django/db/backends/mysql/introspection.py      2008-08-23 
04:00:15 UTC (rev 8474)
+++ django/trunk/django/db/backends/mysql/introspection.py      2008-08-23 
04:14:23 UTC (rev 8475)
@@ -10,6 +10,7 @@
         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',


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to