jrief / django-shop

A Django based shop system
http://www.django-shop.org
BSD 3-Clause "New" or "Revised" License
32 stars 13 forks source link

Allow POST to cart view #74

Closed rfleschenberg closed 7 years ago

rfleschenberg commented 7 years ago

I ran into a problem while updating a project to the 0.10.x branch.

It seems that we don't allow POST to the cart view, but the client-side does that.

I am not sure if this is the correct fix. Was there a change in DRF?

jrief commented 7 years ago

who is the initiator of that POST request?

rfleschenberg commented 7 years ago

django-shop's angular code. But I now think that my issue is probably fixed by adding HTTPMethodOverrideMiddleware. I'll check this and comment here again.

rfleschenberg commented 7 years ago

I think we can close this.