Do you have the following line in db.py at the top?
db = DAL('sqlite://storage.sqlite')
-Thadeus
On Sun, Nov 15, 2009 at 12:30 PM, blye <[email protected]> wrote:
>
> I keep getting this error in the apps I enter to learn web2py.
> eg the Wiki app in the users group pages.
>
> "D:\\web2py\\applications\\wiki/models/db.py", line 4, in <module>
> \nNameError:
> name \'db\' is not defined\n' p8 s.
>
> What am I doing wrong?
>
> Thanks
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---