[web2py] Re: Data Fixtures

2014-01-15 Thread Massimo Di Pierro
It is in the manual. We just do not call this fixtures python web2py.py -S app -M db.export_to_csv_file(open('dump','w')) rm applications/app/databases/* python web2py.py -S app -M db.import_from_csv_file(open('dump')) db.commit() Done. On Tuesday, 14 January 2014 01:21:47 UTC-6, User

[web2py] Re: Data Fixtures

2014-01-13 Thread User
I have the same question. Is there any update on this almost 2 years later? On Thursday, March 8, 2012 4:32:45 PM UTC-5, Bruce Wade wrote: Hi, I have seen lots of postings about people wanting to pre-load data (fixtures) in web2py. However I have never found a standard solution. What are

[web2py] Re: Data fixtures in web2py

2010-10-20 Thread mdipierro
http://www.web2py.com/book/default/chapter/12?search=populate On Oct 20, 1:09 am, Luther Goh Lu Feng elf...@yahoo.com wrote: I am also trying to prepopulate my database with records similar tohttp://groups.google.com/group/web2py/browse_thread/thread/4a80b47d81... What is the best way to