if you use the web2py Storage class:

context = Storage()
context.auth = auth
render(content=content, context=context)


or in raw python:

context = {}
context['auth'] = auth
render(content=content, context=context)


On Nov 3, 8:43 pm, lucas <sjluk...@gmail.com> wrote:
> ok, something more complicated now.
>
> i have reference to auth in my text, for cross checking with
> permissions and stuff in an if statement.  how do i pass the auth
> pointer reference through to renderer so that when i use auth.* in the
> text it runs properly?
>
> thank you in advance.  lucas

Reply via email to