On 3/28/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Basically, I have django create the table and the snippet from models.py > is: > > ExecutionStartDate = models.DateTimeField(verbose_name = "Start Date") > > And, then I have python load script which is loading the data with simple > insert statements: > > The data in the input file is > created = 22 Nov 2006 13:43:24.43
Err, yeah, that's the bit I was asking for. So, this doesn't work? import datetime from yourproject.yourapp import models d = datetime.datetime(2006, 11, 22, 13, 43, 24, 43) ex = models.Example(ExecutionStartDate=d) ex.save() ? It just worked for me, using pg 8.1 and django trunk. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---