Please help with the following:
In CONTROLLER:
def get_author(*args):
In VIEW:
{{=LOAD('default', 'get_author.load', ajax=True)}}
With the LOAD component inside a view, it returns "Invalid function
(default/get_author)".
Seems like it doesn't like the function argument *args. There is no error
in the view when the *args is removed from the function.
Please advise.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
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 [email protected].
For more options, visit https://groups.google.com/d/optout.