Can you show us db.py?
I think you miss

db=DAL('sqlite://storage.sqlite')

at the top of the file.

On Nov 15, 12:30 pm, blye <b...@telkomsa.net> 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 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to