I'm sure this has been discussed before, but my google skills are
failing me.

I would like to create a FormField that is comprised of multiple other
FormFields.  For instance, I would like month, day, and year fields to
be converted to a single date object in html2python.

One solution is to add three fields and conversion code to every
manipulator that uses the composite.  This seems to violate DRY.

Another is creating a FormField subclass that renders as three input
elements.  This fails because html2python is called with the data from
the input element with only the specified name.

Are there better options?

-- 
Brian


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to