>
> Putting in return dict() made it work. Thanks.
>
> What exactly does that do? Where does it get sent to?
>
When myfunc() in mycontroller.py returns a dict (even an empty one), that
tells web2py to render the view associated with myfunc, which by default
will be /views/mycontroller/myfunc.ht
Putting in return dict() made it work. Thanks.
What exactly does that do? Where does it get sent to?
On Sat, Mar 10, 2012 at 4:53 PM, Alan Etkin wrote:
> It appears that your controller sent a None object response. For using
> the view's template, the return statement of the function should
> r
2 matches
Mail list logo