Closed DeronW closed 9 years ago
how can I use rating with ajax, in django1.4 I want POST a request by ajax, but django report 403 status code, I need request with csrf_token code, how can I disable this in django-rating
Django has a decorator called csrf_exempt, you can import and use it in the view where you dont want to use csrf_token
thanks
how can I use rating with ajax, in django1.4 I want POST a request by ajax, but django report 403 status code, I need request with csrf_token code, how can I disable this in django-rating