On 7/20/07, larry <[EMAIL PROTECTED]> wrote:
>
> Has anyone written a date widget with separate fields for day, month,
> and year (and, ideally, a calendar) for the newforms package?

Check out the capabilities of MultiWidget. This provides a mechanism
to break apart a single model field into multiple widgets, and get the
input from multiple widgets back into a single model field.
django.newforms contains a SplitDateTime field and widget for
splitting DateTime fields into two form fields (date and time) -
modifying this for Y/M/D shouldn't be too taxing.

Yours,
Russ Magee %-)

--~--~---------~--~----~------------~-------~--~----~
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