Created
August 21, 2015 21:48
-
-
Save chantra/16e788790ee03481ac7c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "/usr/local/atc/venv/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response | |
response = wrapped_callback(request, *callback_args, **callback_kwargs) | |
File "/usr/local/atc/venv/local/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 57, in wrapped_view | |
return view_func(*args, **kwargs) | |
File "/usr/local/atc/venv/local/lib/python2.7/site-packages/django/views/generic/base.py", line 69, in view | |
return self.dispatch(request, *args, **kwargs) | |
File "/usr/local/atc/venv/local/lib/python2.7/site-packages/rest_framework/views.py", line 466, in dispatch | |
response = self.handle_exception(exc) | |
File "/usr/local/atc/venv/local/lib/python2.7/site-packages/rest_framework/views.py", line 463, in dispatch | |
response = handler(request, *args, **kwargs) | |
File "/usr/local/src/atc/atc/django-atc-api/atc_api/views.py", line 40, in decorator | |
return method(cls, request, service, *args, **kwargs) | |
File "/usr/local/src/atc/atc/django-atc-api/atc_api/views.py", line 58, in get | |
data=request.DATA, | |
File "/usr/local/atc/venv/local/lib/python2.7/site-packages/rest_framework/request.py", line 444, in __getattribute__ | |
return super(Request, self).__getattribute__(attr) | |
File "/usr/local/atc/venv/local/lib/python2.7/site-packages/rest_framework/request.py", line 455, in DATA | |
'`request.DATA` has been deprecated in favor of `request.data` ' | |
NotImplementedError: `request.DATA` has been deprecated in favor of `request.data` since version 3.0, and has been fully removed as of version 3.2. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment