mirumee/satchless — pull request #77 by greggarson (2011-10-29 00:04:30+00:00)
Title: Generifying Cart 

Hello all,

Based on the discussion on the google group around creating a Generic Cart i'd like to submit this pull request for discussion. Internally we have the need to pass extra context data to each CartItem which these updates allow for by subclassing Cart and CartItem and the addition of the **kwargs to the *_quantity calls.

Please take a look, if all looks good i'm happy to update the demo app to mirror the need subclass Cart, CartItem and Order. Alternately I'd be happy to discuss other ways to refactor, update this code for a more general purpose solution,

Looking forward to hearing from you soon,

Thanks,

Greg