Skip to content
Browse files

Adding double field to the default converter

  • Loading branch information...
1 parent 2959057 commit 9c928bc6ceb05664e58b353f51952eee8cb31289 @coleifer committed Sep 28, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 wtfpeewee/orm.py
View
3 wtfpeewee/orm.py
@@ -11,7 +11,7 @@
from peewee import PrimaryKeyField, IntegerField, FloatField, DateTimeField,\
BooleanField, CharField, TextField, ForeignKeyField, DecimalField, DateField,\
- TimeField, DoesNotExist, IntegerColumn, FloatColumn, DoubleColumn
+ TimeField, DoesNotExist, IntegerColumn, FloatColumn, DoubleColumn, DoubleField
__all__ = (
@@ -29,6 +29,7 @@ class ModelConverter(object):
PrimaryKeyField: f.HiddenField,
IntegerField: f.IntegerField,
FloatField: f.FloatField,
+ DoubleField: f.FloatField,
DecimalField: f.DecimalField,
DateTimeField: WPDateTimeField,
DateField: WPDateField,

0 comments on commit 9c928bc

Please sign in to comment.
Something went wrong with that request. Please try again.