I've made a module that does a nice job, if I do say so myself, of encapsulating DataTables (I'll post something about it eventually).
Since it's a module, I need to import it to my controller, which I'm doing like so: import sys sys.path.append(request.folder) import modules.datatables as dt My question: is there a better way to manage this? At first I was building the import path all the way from the web2py base, but I didn't want to include the literal application name. -- 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.