Thanks for your replies.
Regarding the localize option, I tried to use it in my models.py [1].
However, I get the following error.
Field.__init__(self, verbose_name, name, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'localize'
[1]
http://pastebin.com/9TkwWnNY
Can localize only be used for forms but not for my models that are
eventually represented in the admin backend form?
Robert
On May 3, 8:21 am, jrief <
jacob.r...@gmail.com> wrote:
> Internally a price is always handled and stored as 0.00. Thats the way
> software and databases work.
>
> What you can do is to change the representation of your Decimal in your
> frontend and backend. In Django, changing this in the frontend its easy,
> just add USE_L10N = True to your settings.py and add localized=True to all
> occurrences of form fields handling a Decimal (seehttps://
docs.djangoproject.com/en/1.4/ref/forms/fields/#localize)
> herehttps://
github.com/divio/django-shop/blob/master/shop/admin/mixins.py