On Tue, Mar 13, 2012 at 1:46 PM, Ahmad <[email protected]> wrote:
> I'm trying to insert date/time as I'm storing data retrieved from google
> calendar api about event start and end date.
> here is the RFC link RFC 3339
>

DateTimeField wants a python datetime.datetime object. You can use
datetime.strptime and datetime.strftime to parse and format a datetime
field how you desire.

http://docs.python.org/library/datetime.html#strftime-strptime-behavior

Cheers

Tom

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

Reply via email to