You can use a context processor or create a custom template tag. -Chris
On Thu, Mar 29, 2012 at 8:32 AM, lifewithryan <[email protected]>wrote: > Perhaps a context processor? Checks Django's docs for writing your own. > Pretty easy. > > Sent from my iPod > > On Mar 29, 2012, at 4:08 AM, Olivier Lauret <[email protected]> > wrote: > > Hello, > > Apologies for the beginner's question. I'm trying to show the number of > items in the wishlist everywhere on my website, the same way I would have > the number of items in the shopping cart. > > I have created a custom tag for it. The problem is that the wishlist > context isn't everywhere and I don't think it's a good idea to set it > manually for every page. Is there a way I could add it to efficiently to > every page? > > I tried to googled it but nothing was very obvious. > > Regards, > Olivier > > -- > You received this message because you are subscribed to the Google Groups > "Satchmo users" 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/satchmo-users?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Satchmo users" 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/satchmo-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Satchmo users" 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/satchmo-users?hl=en.
