I think template tags would be a good solution.

Thank you,
victor rocha
www.rochapps.com

On Tuesday, February 5, 2013 5:06:28 AM UTC-5, Stefano Tranquillini wrote:
>
> Hi all.
> i've a conceptual problem that i would like to solve. 
> Let's take as example a blog.
> In all the pages of the blog i would like to have a colum containing the 
> list of tags and the list of the top-10 posts.
>
> Now, i can create a base.html template where i render the data. but, how 
> should i do the population of these lists?
> Should i create a middleware that for each request populates the lists?
> or what?
>
> ciao
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to