On 27 May, 21:31, Ron <ron.h.co...@gmail.com> wrote: > Completely new to web2py. Problems just getting through the "cookbook" > tutorial: > Page 8 says to create a new db.py. There was already a db.py, and this > seemed to create errors. I deleted the old one and created a new one. > Is that correct?
Fine :) > After creating the new db.py, I entered the tutorial db code (exactly > and completely). Tutorial then says to click on cookbook/design/ > administration. This results in an error ticket: > Traceback (most recent call last): > File "gluon/restricted.py", line 107, in restricted > File "/Applications/web2py.app/Contents/Resources/applications/ > cookbook/models/menu.py", line 13, in <module> > NameError: name 'auth' is not defined Delete models/menu.py It's not needed for this example. > Completely stumped by all this and don't know how to proceed. Am I > doing something or is this tutorial messed up, and if so is there > another way to learn web2py? Cookbook is good, but I guess it needs updating a little for the recent scaffolding enhancements... F --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---