On Apr 19, 1:15 pm, tijer <
troels...@gmail.com> wrote:
> Hi, I'm having some issues with using the bulkloader.
>
> I'm having issues with getting the data in the datastore appear as the
> correct datatypes. I'm using a model with both a (google) user, and a
> datetime object.
There is good documentation for bulkload.Loader (and for other parts
or bulkload). To see it, visit
http://localhost:8080/_ah/admin/interactive
and type
from google.appengine.ext import bulkload
print help(bulkload.Loader)
in the textare and press RunProgram. In particular, you can change
('date', str) above to
('date', lambda x: datetime.datetime.strptime(x, '%Y-%m-%d %h:%M:%s')
Hope that helps,
Victor.