Commits

Anonymous committed 3ace508

Added Context Processor. Fixes #1

  • Participants
  • Parent commits 3651347

Comments (0)

Files changed (1)

session_cart/context_processor.py

+
+from session_cart import cart
+
+def cart(request):
+    return { 'cart': cart.Cart(request.session) }
+