I just recently upgrading my trunk to revision 7054 and I noticed that
the form I have that uses the splitdatetime
widget no longer renders correctly.
On my form it displays my field like
Start Date/Time:* <input type="text" name="event_date_0"
id="id_event_date_0" /><input type="text" name="event_date_1"
id="id_event_date_1" />
instead of actually rendering the date and time fields.
Here is a snippet of form:
event_date = forms.SplitDateTimeField(widget=SplitDateTimeWidget())
Here is a snippet of my html file
<td valign="bottom">
<div class="form-row">
<label for="id_event_date"></label>
<p class="datetime">
Start Date/Time:* {{ form.event_date }}
</p>
{% if form.event_date.errors %}
*** {{ form.event_date.errors|join:", " }}
{% endif %}
</div>
</td>
Any help would be greatly appreciated
Thanks,
Jeff
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---