Re: models.DecimalField with value 0 shows up as "0E-8" in admin forms by default. Is there a workaround?

2012-11-03 Thread Ben Roberts
If anyone down the road ends up looking for a solution to this, I worked it out via StackOverflow: http://stackoverflow.com/questions/13163167/how-to-get-a-django-admin-form-field-for-a-models-decimalfield-with-value-0-to-n/13210775#13210775 On Wednesday, October 31, 2012 12:37:26 PM UTC-6, Ben

models.DecimalField with value 0 shows up as "0E-8" in admin forms by default. Is there a workaround?

2012-10-31 Thread Ben Roberts
I created a ticket for this, since it really doesn't seem right for a Decimal field to be using E notation in forms, but just for zeros. We use django admin as a client-facing backend, so we need to make it user friendly. I have a model with