Re: Trailing zeros in DecimalField

2013-05-20 Thread Derek
Possibly related to localisation. See: https://groups.google.com/forum/?fromgroups#!topic/django-users/evJ7jg-YhdM https://docs.djangoproject.com/en/dev/topics/i18n/formatting/ On Sunday, 19 May 2013 01:37:22 UTC+2, Pedro J. Aramburu wrote: > > I've been reviewing the code of

Trailing zeros in DecimalField

2013-05-18 Thread Pedro J. Aramburu
I've been reviewing the code of *models.DecimalField* and * forms.DecimalField* because trailing zeros after the decimal point are being removed in my forms. I didn't find anything suggesting that it's done there, instead they are handled properly according to my needs. Although the proper