Re: newforms: I18N (Date und Decimal)

2007-07-06 Thread Malcolm Tredinnick
On Fri, 2007-07-06 at 13:25 +0200, Thomas Güttler wrote: > Hi, > > I read the source of the newforms module, but there > seems no easy way to get i18n for dates and decimals. [...] > > The constructor of models.DecimalField could take the > decimal separator as keyword argument and give his Inpu

newforms: I18N (Date und Decimal)

2007-07-06 Thread Thomas Güttler
Hi, I read the source of the newforms module, but there seems no easy way to get i18n for dates and decimals. widget.py: -- class Input(Widget): def render(self, name, value, attrs=None): if value is None: value = '' final_attrs = self.build_attrs(attr