On 7/21/07, jeffhg58 <[EMAIL PROTECTED]> wrote:
>
> I am just digging into the newforms functionality. I am looking at the
> splitdatetimewidget.
> I am trying to having a different attributes for the first field and
> the second field, and would like to know how to go about doing it.

I would suggest setting up some purpose based widgets - a DateWidget
and a TimeWidget - that define their attributes. Then, compose your
SplitDateTimeWidget out of the two custom widgets, rather than using
two standard TextInputs and trying to pass attributes down to them.

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 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to