[web2py] resetting the DB query

2011-03-26 Thread fib
Hi all I am learning the ropes so to speak and am using a remote mysql as a db I have sorted out the tables from legacy db to be generated by web2py along with the auth tables I need to know what the quick way is to reset the db - as i learn and make mistakes in previous times I would just drop

[web2py] Re: resetting the DB query

2011-03-26 Thread fib
in files in the 'databases' folder (so you may need to delete or fix them). Also, if you're expecting some migrations but not seeing them, make sure you don't have 'migrate' set to False. Anthony On Saturday, March 26, 2011 8:34:29 PM UTC-4, fib wrote: Hi all I am learning the ropes so

[web2py] Re: Converting legacy MySQL databases to web2py DAL

2011-03-24 Thread fib
OK all I feel quite stupid I think I need the ABC of running this I have placed the file in a location where I know where it is and it can be seen in the web2py list I have tried putting the call into shell and into a web2py app I have used IDLE (python) and have tried shell on web2py I believe

[web2py] Re: Converting legacy MySQL databases to web2py DAL

2011-03-24 Thread fib
Oh I think reply to author was an email - I think I replied but it is not showing here?

[web2py] Re: Converting legacy MySQL databases to web2py DAL

2011-03-24 Thread fib
 pm, fib desem...@gmail.com wrote: Oh I think reply to author was an email - I think I replied but it is not showing here?

[web2py] Re: Converting legacy MySQL databases to web2py DAL

2011-03-22 Thread fib
Response much appreciated I understand some of the defining and forms bits and want to use web2py - I do have rudimentary working apps but i was struggling to write the web2py code to create the db tables to match the mysql db tables i already have it was really the bit about changing the

[web2py] Re: Converting legacy MySQL databases to web2py DAL

2011-03-21 Thread fib
apologies I am a newbie I believe that this may be what I was searching for as I have an existing mySQL db and am struggling getting my head into the web2py Can I add the mysqldb module in web2py and run this code there and if so - how sorry if this seems too simple

[web2py] Re: Converting legacy MySQL databases to web2py DAL

2011-03-21 Thread fib
apologies I am a newbie I believe that this may be what I was searching for as I have an existing mySQL db and am struggling getting my head into the web2py Can I add the mysqldb module in web2py and run this code there and if so - how sorry if this seems too simple