I need to get dictionary item which is located in
default.py in to a view. to be more specific:
default.py:
def my function():
my_result = 'my result'
return dict(my_result=my_result)
the view is accessed from default/my_function.html,
but my_result is also needed in a html above that (views/layout_1.html)
how do I do that?
--
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/groups/opt_out.