hi greg, Greg wrote: > Jake, > I've made the change to where both of my fields are now of type > DecimalField. However, I'm getting the same error: > > TypeError > float() argument must be a string or a number > Here is what I have is my models file: > > models.DecimalField(max_digits=6, decimal_places=2)
it looks to me like your 'price' field is passing a None to the filter. this can easily happen if you have a null value in the price column. the model specification you gave here wouldn't allow that, but have you been altering the actual database records & table structure to keep up with your model changes? the template may be trying to render null data from an insert prior to your model change. -jake --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---