Hi Annet, if you follow the instructions from welcome/models/db.py and you will find that your app. serves a bunch of URLs.
For example http://..../[app]/default/user/login in my wellcome app is http://127.0.0.1:8000/wellcome/default/user/login etc... ---------------------------- Sebastian E. Ovide On Fri, Feb 13, 2009 at 8:45 AM, annet <jmverm...@planet.nl> wrote: > > I went through the web2py manual and the Web Design Patterns and T2 > Components PDF. I am happy with the way web2py is being developed, > however, since I am a novice when it comes to Python an web2py, the > implications of the iterations are not always clear to me. > > Am I right to conclude that Python is T0 web2py is T1, that on top of > web2py you got T2 and T3 and that from web2py version 1.56 the > authentication, authorization and crud functionality is moved from the > T2 into tools.py? > > I downloaded web2py 1.56.2 and had a look at the db.py file, as far as > I can judge using tools.py would considerably increase my > productivity, however, I haven't got a clue where to start. Is it a > matter of uncommenting the code and moving > > def user(): return dict(form=auth()) > def data(): return dict(form=crud()) > def download(): return response.download(request,db) > > to the default.py controller? > > Do I have to change anything in > > http://..../[app]/default/user/login > > or are the gaps filled programmatically? > > > I hope tools.py will be well documented very soon, and that a tutorial > will be made available. At the moment I am googling the workgroup for > answers to my questions, but this results in a puzzle like thing with > lots of pieces missing, which is rather awkward. > > > Best regards, > > Annet. > > > > --~--~---------~--~----~------------~-------~--~----~ 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 web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---