On Fri, Mar 19, 2010 at 11:34 AM, Thadeus Burgess <thade...@thadeusb.com> wrote: > You could do a > > def install(): > if db(db.table.id > 0).count() == 0: > db.table.insert(record1) > db.table.insert(record2) > if db(db.table2.id > 0).count() == 0: > db.table2.insert(record1) > > install() > > -Thadeus > >
Thadeus, thx. I'm also looking at what might be the best way to parse the current code base (doc strings) or epydocs and put that info in to the db. -wes -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.