It looks like you're passing 2 dicts to render(); you should only be
passing 1 with all of the values.

On May 31, 4:47 pm, Massimiliano <[email protected]>
wrote:
> Dear All,
> I'm a beginner. I'm three days thinking about this, but it's not working.
>
> In my main.py
> lista = db.Query(FOOD).order('-Date').fetch(30)
> self.response.out.write(template.render('main.html', {'lgourl':lgourl},
> {'lista':lista}))
>
> In my main.html
>
> {% block centro %}
> {% for elemento in lista %}
> {{elemento.Food}} ({{elemento.Nick}})
> {% endfor %}
> {% endblock %}
>
> I can't display nothing.
>
> Please, this is driving me crazy!
>
> Massimiliano
>
> --
>
> My email: [email protected]
> My Google Wave: [email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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/google-appengine?hl=en.

Reply via email to