I got it. Thank You
On Nov 22, 5:50 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > done. > > On Nov 22, 3:39 pm, "mr.freeze" <nat...@freezable.com> wrote: > > > Any chance you could add populate to svn? > > > On Nov 22, 9:19 am, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > > With random data or with your own data? > > > > 1) With random data: > > > > from gluon.contrib.populate import populate > > > populate(db.table,1000) # will fill db.table with 1000 records > > > > 2) With your own data > > > I depends on where the data is. You can create a controller action > > > that loops and > > > db.table.insert(field='value',...) > > > > On Nov 22, 3:47 am, harshit agrawal <harsh.agrawal2...@gmail.com> > > > wrote: > > > > > sir, > > > > I am populating my database by filling forms. But I don't want to fill > > > > long forms again and again. Is there a way to populate the database in > > > > one shot . If Yes, please explain... > > > > > Thank You > > > > waiting for response > > > > harshit --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@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 -~----------~----~----~----~------~----~------~--~---