@Johann, this is not a good solution because ties the import to the
application name.
@Wonton, can you email me your app so I can take a look. What os? what
python version? what web2py version?
On Monday, 4 February 2013 04:47:46 UTC-6, Johann Spies wrote:
>
> But if I do this in default.py:
>
But if I do this in default.py:
> import mymodule
> def index():
> value = mymodule.attribute
> return value
>
> it works and return 'goobye world', so default detects the attribute but
> not the function, why is this? Maybe I'm not building the module correctly?
>
> I've tried to put the
Hello everyone!
I have a project in a server without admin access so it's difficult for me
to debug it, I have a strange problem and I'm lost with it.
Basically my default.py has something like this:
import mymodule
def index():
value = mymodule.function()
return value
And inside modul
3 matches
Mail list logo