On 2011-05-14, at 6:10 PM, Korobase wrote:
>     price=models.FloatField(default=0.0)

You really should really be using a DecimalField for storing prices, not a 
FloatField.

http://docs.djangoproject.com/en/dev/ref/models/fields/#decimalfield
http://docs.djangoproject.com/en/dev/ref/models/fields/#floatfield

Not sure off the top of my head why you get that error though.
--
  Andy McKay
  a...@clearwind.ca
  twitter: @andymckay
 

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to