On 3 Sep 2013, at 12:13 PM, Niphlod <niph...@gmail.com> wrote: > BTW, AFAICT (As Far As I Can Tell :P), the abspath was only meant to have > easier code in admin. Docstring says > "convert relative path to absolute path based (by default) on > applications_parent" > > applications_parent is the folder where the applications/ folder is (where > web2py.py usually is), so if you go for abspath route, you'll have always to > include the app name in your import. > I just think that you "misinterpreted" what applications_parent is: it's not > application_parent (meaning the parent of your application, > root/applications/appname), it's the whole applications folders parent, so > the grand-grand-father ^_^ > >
Which is doubly embarrassing because I wrote the damned thing. The idea was to have a consistent interface to the path to web2py, taking into consideration that we allow the applications folder to be relocated (and not be a neighbor of gluon/). -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.