This is in Django 1.0.2

On May 5, 6:23 pm, "klaasvanschel...@gmail.com"
<klaasvanschel...@gmail.com> wrote:
> Hi,
>
> I would like to present the user with dates in their particular locale
> (Dutch). Both when presenting the date and when parsing it.
>
> As I understand, for individual form's fields this should be possible
> like so:
>
> my_date = forms.DateField(input_formats=('%d-%m-%Y',))
>
> Overriding this behaviour for ModelForm can be done by specifying the
> format for each ModelForm class.
>
> Since my entire app is in the same localization I would like to
> indicate the default date_input_formats in (for example) setttings.py.
> Is such a thing possible?
>
> Klaas
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to