Let me explain myself better: I have some menus in my site, and they
appear all along the front-end pages. One of these menus must have a
list of objects.

Considering that I have a "base.html" that has these menus, how can I
pass the objects to it, without having to fetch the objects in each
view of the site?

Thanks!

Diogo



On Jun 25, 8:39 pm, Diogo Baeder <diogobae...@gmail.com> wrote:
> Hi,
>
> I'm trying to set up a global model object list, to populate a part of a
> menu in my site. How can I do it? How can I instantiate the model object
> list, so that it is available to all the views?
>
> Thanks!
>
> Diogo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to