id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 14659,Assigning floats to DecimalFields,Miguel Araujo,Miguel Araujo,"{{{DecimalField}}} does not accept a float as a parameter, as it should be first converted to a string. So if you have {{{DecimalField}}} in a model, you will not be able to assign a float to it. {{{ class Item(models.Model): weight = models.DecimalField(max_digits=7, decimal_places = 2) Item.objects.create(weight=100.43) }}} The patch passes Django tests, regards Miguel Araujo",,closed,"Database layer (models, ORM)",dev,,invalid,"DecimalField, float",muchochini@…,Unreviewed,1,0,0,0,0,0