On Tue, Jul 15, 2008 at 4:57 AM, Tim Sawyer <[EMAIL PROTECTED]> wrote:
> In my code, I did this:
>
> self.datetime = pForm.cleaned_data['datetime']
>
> the datetime parameter passed from the form only contained the date, with no
> time, so I assume the value in datetime then was only a date.

This shouldn't happen: a DateTimeField normalizes to a
datetime.datetime object.  Are you sure you're not using a DateField
in your form?


Arien

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