Monday, March 5, 2012

Field.localize=True effective only if USE_L10N=True as well?

Hi all,

using Django 1.3, in a form like

class SomeForm(forms.Form):
Stunden = forms.DecimalField(localize=True, ...)

it seems that localize=True is only effective if in the settings.py
USE_L10N = True as well.

Is that correct?

Many thanks and best regards,
Carsten

--
Cafu - the open-source Game and Graphics Engine
for multiplayer, cross-platform, real-time 3D Action
Learn more at http://www.cafu.de

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate