You can create a custom tag, I've never done it myself, but it's in the docs: http://www.djangoproject.com/documentation/templates_python/#writing-custom-template-tags
I am sure you can get more help if you need it, but this should get you started. On Aug 2, 12:51 am, Greg <[EMAIL PROTECTED]> wrote: > I've created a shopping cart. I want to put something on the top of > every page that let's people know how many items they have in their > cart. I have a lot of views that don't send any dictionary key's that > contain shopping cart info. If I want to do this...do I now have to > edit every view return render_to_response line so that they all > contain a key that contains my shopping cart info? > > Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---