also, note that web2py depends on an existing autoincrement field in each table - "id"
On Thu, Oct 30, 2008 at 3:48 PM, Wes James <[EMAIL PROTECTED]> wrote: > > On Thu, Oct 30, 2008 at 2:10 PM, michal niklas <[EMAIL PROTECTED]> > wrote: > > > > Hello, > > > > I have some Delphi Win32 applications that use PostgreSQL. Now I think > > about porting some of their functionality to web. While Python is now > > my favourite language I looked at some web frameworks in Python. I > > have tried a little web2py (just cookbook) and now it is time to show > > some data from my old apps. Are there any tools to create db.py model > > from existing PostgreSQL database? > > > > do a pg_dump of your database tables and then write a script to parse > the table defs and create your web2py defs. > > -wj > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---