Re: [mezzanine-users] Tax handling in cartridge

2014-02-26 Thread Josh Cartmell
Makes sense, so it should probably be converted to a string here (I think the same thing for set_shipping): https://github.com/stephenmcd/cartridge/blob/master/cartridge/shop/utils.py#L116 I'll give that a shot and if it works create a pull request, other than that am I calculating the total in th

Re: [mezzanine-users] Tax handling in cartridge

2014-02-26 Thread Stephen McDonald
Django 1.6 introduced changes which limits the data types that can be stored in sessions, specifically Decimal in this case: https://docs.djangoproject.com/en/1.6/releases/1.6/#default-session-serialization-switched-to-json Here's a commit which addressed this in Cartridge, but the tax handling w

[mezzanine-users] Tax handling in cartridge

2014-02-26 Thread Josh Cartmell
It's been awhile since I've used Cartridge in a project, but I have one that I'm working on right now. I was pleased to see that Cartridge now has tax support, but I'm running into some issues. Right now for my tax handler I have: total = request.cart.total_price() if request.session.has