Skip to content

Commit

Permalink
Adding double field to the default converter
Browse files Browse the repository at this point in the history
  • Loading branch information
coleifer committed Sep 28, 2012
1 parent 2959057 commit 9c928bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wtfpeewee/orm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__ = (
Expand 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,
Expand Down

0 comments on commit 9c928bc

Please sign in to comment.