mirumee/satchless — Issue #73: CartApp.remove_item needs to use method_decorator
Author: bartels
Created: 2011-10-25 04:32:25+00:00
State: open

`require_Post` needs to be wrapped with `django.utils.decorators.method_decorator` since the view is no longer a function.

```
@method_decorator(require_POST)
def remove_item(self, request, item_pk):
...
```