Thanks -

Passing db into the module works as I wanted it to.

On Dec 15, 11:45 am, mdipierro <[email protected]> wrote:
> 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 <[email protected]> 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 [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.


Reply via email to