It's worth noting that I expanded that a bit and put it into my "template_utils" app:
http://code.google.com/p/django-template-utils/ Sent from my iPod On Jan 15, 2008, at 7:46 PM, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > > > On 16-Jan-08, at 3:26 AM, Petar wrote: > >> The thing is, in my sidebar I want to display all the categories. >> This >> sidebar is the same for every view. How do I create the variables >> needed for this recurring sidebar? So that in every view I can >> generate a list of all categories in the database? > > http://www.b-list.org/weblog/2006/jun/07/django-tips-write-better- > template-tags/ > > -- > > regards > kg > http://lawgon.livejournal.com > http://nrcfosshelpline.in/web/ > Foss Conference for the common man: http://registration.fossconf.in/web/ > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---