Re: Access the request object in a filter?

2007-08-09 Thread Collin Grady
{% if item|in_cart:request %} --~--~-~--~~~---~--~~ 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

Access the request object in a filter?

2007-08-09 Thread [EMAIL PROTECTED]
Hey All, I'm trying to create a 'shopping' website, and one of the design elements that is necessary is that the "Purchase this item" link changes to a "Remove this item from your cart" link when the item has been added to the user's Shopping Cart. When an object is added to the shopping cart,