Guys -

I have a slight issue with dates in Django and appengine:

I have the following class because i want date input in the form of DD/
MM/YY

class MyForm(ModelForm):
      mydate = forms.DateTimeField(input_formats=['%d-%m-%y', '%d/%m/
%y'])
      class Meta:
          model = MyObject

This works for entering into the datastore.
However when i use a generic view to edit the data the form comes back
in the format of YYYY-MM-DD. Any ideas on how to change that?

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

Reply via email to