Hello !
I have a model that I try to edit with a ModelForm. This model has a
DateField property. I render the form in my template with a simple :
{{ form.as_p }}
I expected the DateField to be displayed as in the admin interface,
with a javascript date picker. But I only get a text field. The value
format is validated as a date format, so I expect the field is treated
as a DateField.
Is there a way to automagically get the javascript date picker, or is
it something I have to add manually ?
Thanks for your help !
MrG
--
Jabber : [EMAIL PROTECTED]
Skype : Guillaume.Lederrey
Projects :
* http://rwanda.ledcom.ch/
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---