Commits

Anonymous committed 77c325a

Fixed middleware to use name param
Fixed url in setup.py

  • Participants
  • Parent commits 9015049

Comments (0)

Files changed (2)

session_cart/middleware.py

         """
         request.carts = object()
         for name, Cart in get_carts().items():
-            setattr(request.carts, name, Cart(request))
+            setattr(request.carts, name, Cart(request, name))
         
         if 'default' in get_carts():
             request.cart = property(lambda self: self.carts.default)
 	description='A session-stored cart for Django',
 	author='Curtis Maloney',
 	author_email='curtis@tinbrain.net',
-	url='http://bitbucket.org/funkybob/django-session-cart/',
+	url='http://bitbucket.org/funkybob/session-cart/',
 	keywords=[ 'django', 'cms', 'e-commerce', ],
 	py_modules=['session_cart'],
 	zip_safe=False,