in my code.py:

class rss:
    def GET(self):
        return render.layout(render.rss())

-----------------------------------

in my render.py:

def layout(content):
    render_vars = {'page_description': 'main page of site',
'page_keywords':'my great site, power programmer'}
    return site_layout_path.layout(render_vars, content)

def rss():
    # in this line I have a wrong !, because I want access and change
the value of a variable ['render_vars'][page_description']:
    site_layout_path['render_vars'][page_description']='RSS Page of
the site'
    return site_layout_path.rss()

Any help ?

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to