Hi everybody,

I'm having trouble finding out what is the appropriate way to load
data into a web2py webapp running on GAE. I created a script that
parses some files and inserts data into a local web2py instance using
"web2py -S myapp -M -R myscript.py", but I see no way of doing the
same either for a local GAE instance (running with dev_appserver) or
for a deployed GAE instance.

I know that you can export the entire database from a standard web2py
instance using something like this:

db.export_to_csv_file(open('somefile.csv', 'wb'))

Unfortunately, since you cannot use the web2py shell with GAE, I don't
see how I can import that database dump either into the local GAE
instance or the deployed GAE instance.

Can anybody help?

Reply via email to