title: @csrf_exempt does not work on generic view based class
body: <pre><code>class ChromeLoginView(View):
  
       def get(self, request):
            return JsonResponse({'status': request.user.is_authenticated()})
  
       @method_decorator(csrf_exempt)
       def post(self, request):
            username = request.POST['username']
            password = request.POST['password']
            user = authenticate(username=username, password=password)
            if user is not None:
                  if user.is_active:
                       login(request, user)
                       return JsonResponse({'status': True})
            return JsonResponse({'status': False})
  </code></pre>
  
  <p>I am expecting that the post does stopped by csrf, but it return 403 error.</p>
  
  <p>But if remove that decorator and do this in the URLConf</p>
  
  <pre><code>url(r'^chrome_login/', csrf_exempt(ChromeLoginView.as_view()), name='chrome_login'),
  </code></pre>
  
  <p>it will work.</p>
  
  <p>What happened here? didn't it supposed to work, because I guess that's what method_decorator do.
  I'm using python3.4 and django1.7.1</p>
  
  <p>Any advice would be great.</p>