Is the module imported by web2py? If not you need to pass the db to
thsoe functions/classes defined in the module that need to use it.

Else you should probably run web2py -S app -M -R yourmodule.py

On Dec 15, 12:28 pm, Hillman <hillma...@gmail.com> wrote:
> I have a module that I uploaded to an application, and I was wondering
> if there is a way that I can access my databases within the module. I
> imagine it is just a matter of importing the right things, but I don't
> know what all I need to import.

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@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