Re: How to render date and time separately with newforms.SplitDateTimeWidget

2007-06-14 Thread Malcolm Tredinnick
On Thu, 2007-06-14 at 20:30 +, Paul wrote: > I don't think that is possible. When you reference the field inside > the template (with form.my_field) you are accessing a BoundField that > is tied to the formfield in question. From this BoundField you don't > actually have access to the widget

Re: How to render date and time separately with newforms.SplitDateTimeWidget

2007-06-14 Thread Paul
I don't think that is possible. When you reference the field inside the template (with form.my_field) you are accessing a BoundField that is tied to the formfield in question. From this BoundField you don't actually have access to the widget. Rather you call as_widget or as_hidden (or __unicode

Re: How to render date and time separately with newforms.SplitDateTimeWidget

2007-06-14 Thread Malcolm Tredinnick
On Thu, 2007-06-14 at 00:12 +, Paul wrote: > Is this possible? The old forms module allowed you to render the date > and time separately in the template for the form. Now it seems this > is no longer possible. So it isn't possible for instance to render > the date on one row of a table and

How to render date and time separately with newforms.SplitDateTimeWidget

2007-06-13 Thread Paul
Is this possible? The old forms module allowed you to render the date and time separately in the template for the form. Now it seems this is no longer possible. So it isn't possible for instance to render the date on one row of a table and the time on the following row just below it like: {{for