{"action":"created","issue":{"url":"https://api.github.com/repos/GetBlimp/django-rest-framework-jwt/issues/139","labels_url":"https://api.github.com/repos/GetBlimp/django-rest-framework-jwt/issues/139/labels{/name}","comments_url":"https://api.github.com/repos/GetBlimp/django-rest-framework-jwt/issues/139/comments","events_url":"https://api.github.com/repos/GetBlimp/django-rest-framework-jwt/issues/139/events","html_url":"https://github.com/GetBlimp/django-rest-framework-jwt/issues/139","id":99505604,"number":139,"title":"`NotImplementedError` on accessing `request.DATA`","user":{"login":"cgroner","id":946024,"avatar_url":"https://avatars.githubusercontent.com/u/946024?v=3","gravatar_id":"","url":"https://api.github.com/users/cgroner","html_url":"https://github.com/cgroner","followers_url":"https://api.github.com/users/cgroner/followers","following_url":"https://api.github.com/users/cgroner/following{/other_user}","gists_url":"https://api.github.com/users/cgroner/gists{/gist_id}","starred_url":"https://api.github.com/users/cgroner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgroner/subscriptions","organizations_url":"https://api.github.com/users/cgroner/orgs","repos_url":"https://api.github.com/users/cgroner/repos","events_url":"https://api.github.com/users/cgroner/events{/privacy}","received_events_url":"https://api.github.com/users/cgroner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-06T19:15:22Z","updated_at":"2015-08-09T18:37:53Z","closed_at":null,"body":"From `django-rest-framework` v3.2, any attempts to access `request.DATA` will raise a `NotImplementedError` with the following message:\r\n\r\n> `request.DATA` has been deprecated in favor of `request.data` since version 3.0, and has been fully removed as of version 3.2.\r\n\r\nYou can see the change [commit here](https://github.com/tomchristie/django-rest-framework/commit/f7d44dfae0d73a33373f62cf1905c10f89fcfb9e). The error originates [here in `views.py`](https://github.com/cgroner/django-rest-framework-jwt/blob/master/rest_framework_jwt/views.py#L56).\r\n\r\nNote that the `request.data` property appears to have been added in `django-rest-framework` v3, so simply changing `request.DATA` to `request.data` may make this package incompatible with earlier versions."},"comment":{"url":"https://api.github.com/repos/GetBlimp/django-rest-framework-jwt/issues/comments/129224092","html_url":"https://github.com/GetBlimp/django-rest-framework-jwt/issues/139#issuecomment-129224092","issue_url":"https://api.github.com/repos/GetBlimp/django-rest-framework-jwt/issues/139","id":129224092,"user":{"login":"stunaz","id":1305483,"avatar_url":"https://avatars.githubusercontent.com/u/1305483?v=3","gravatar_id":"","url":"https://api.github.com/users/stunaz","html_url":"https://github.com/stunaz","followers_url":"https://api.github.com/users/stunaz/followers","following_url":"https://api.github.com/users/stunaz/following{/other_user}","gists_url":"https://api.github.com/users/stunaz/gists{/gist_id}","starred_url":"https://api.github.com/users/stunaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stunaz/subscriptions","organizations_url":"https://api.github.com/users/stunaz/orgs","repos_url":"https://api.github.com/users/stunaz/repos","events_url":"https://api.github.com/users/stunaz/events{/privacy}","received_events_url":"https://api.github.com/users/stunaz/received_events","type":"User","site_admin":false},"created_at":"2015-08-09T18:37:53Z","updated_at":"2015-08-09T18:37:53Z","body":"This a blocker for django-rest-framework v3.2"}}