Hi,

I have a several widgets in a file called widgets.py and would like to
use those widgets in db.py.  Both db.py and widgets.py exist in the
models directory.  However, when I use the widgets in defining table
fields in db.py, it does not recognize the widgets.  How can I include
the widgets.py in db.py?

Note that some of the the widgets reference the db object and so I
decided not to put widgets.py in the modules folder since I could not
reference db and the other globals from web2py.

Thanks for your help.

Avik

-- 
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