yes, I'm not using the django class based view. Im very sorry that I missed that MyView is a callable, as ApiView implements __call__ (Im mantaining someone else's code). So, this class is a callable, and the @csrf_exempt on the class used to work in django 1.2, but does not in 1.4.
– lfagundesApr 23 '12 at 16:37

2

This wouldn't work anyway, even for class-based view. Per the docs, you have to wrap the csrf_exempt decorator in the method_decorator decorator: @method_decorator(csrf_exempt)
– ChadJul 19 '13 at 18:17

Finally. THANK GOD. That was bloody complicated. Thank you for providing an answer that actually works.
– dan-klassonMay 4 '17 at 13:02