I've created my own module and placed it in applications/myapp/modules In default.py I've added import applications.myappliance.modules.mymodule as mymodule
In mymodule.py I reference db but db isn't accessible. The ticket states "global name 'db' is not defined". What am I missing in mymodule.py? And are there any other statements/ imports that are generally needed? thanks Carl --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---