Re: FloatField, localize and Django settings

2013-01-23 Thread Michael Anckaert
On Tuesday, 22 January 2013 21:30:09 UTC+1, Michael Anckaert wrote: > >> Hello everyone >> >> I came across an issue where my CBV and an automatic ModelForm gave me >> some headaches with localization. >> >> The project is localized so a float is 3,2 instead o

FloatField, localize and Django settings

2013-01-22 Thread Michael Anckaert
h the sources I noticed that the attribute localize of FloatField has to be set manually. Wouldn't it be sensible to localize the FloatField according to the project settings instead of having to manually set it in a custom form? Kind regards Michael Anckaert michael.ancka...@sin

Where is the authentication backend used?

2012-12-16 Thread Michael Anckaert
Hello everyone I've tried getting my question answered by the folks over django-users but when searching the archives I didn't feel that I would get a sufficient response there. On my current project I need a mix of builtin Django authentication and oAuth2 sources. But when writing a custom a

Date parsing in DateField

2009-06-16 Thread Michael Anckaert
d all variants where there are one or two day/month digits and/or the - delimiter is a / I intend to make it compatible with all possible DATE_FORMAT options. -- Met vriendelijke groeten, Kind regards, Michael Anckaert Sinax Consultant +32 473 779 135 http://www.sin