Created
May 1, 2017 04:12
-
-
Save guyjacks/5dff91bd352a754ad0abe73078a7d207 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| django.request: ERROR: Internal Server Error: /cases/c34dbf68-4593-45d5-af4b-5e886371399c/deals/ | |
| Traceback (most recent call last): | |
| File "/Users/guyjacks/.pyenv/versions/adr-api/lib/python3.4/site-packages/django/core/handlers/base.py", line 149, in get_response | |
| response = self.process_exception_by_middleware(e, request) | |
| File "/Users/guyjacks/.pyenv/versions/adr-api/lib/python3.4/site-packages/django/core/handlers/base.py", line 147, in get_response | |
| response = wrapped_callback(request, *callback_args, **callback_kwargs) | |
| File "/Users/guyjacks/.pyenv/versions/adr-api/lib/python3.4/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view | |
| return view_func(*args, **kwargs) | |
| File "/Users/guyjacks/.pyenv/versions/adr-api/lib/python3.4/site-packages/rest_framework/viewsets.py", line 83, in view | |
| return self.dispatch(request, *args, **kwargs) | |
| File "/Users/guyjacks/.pyenv/versions/adr-api/lib/python3.4/site-packages/rest_framework/views.py", line 483, in dispatch | |
| response = self.handle_exception(exc) | |
| File "/Users/guyjacks/.pyenv/versions/adr-api/lib/python3.4/site-packages/rest_framework/views.py", line 443, in handle_exception | |
| self.raise_uncaught_exception(exc) | |
| File "/Users/guyjacks/.pyenv/versions/adr-api/lib/python3.4/site-packages/rest_framework/views.py", line 480, in dispatch | |
| response = handler(request, *args, **kwargs) | |
| File "/Users/guyjacks/.pyenv/versions/adr-api/lib/python3.4/site-packages/rest_framework/mixins.py", line 48, in list | |
| return Response(serializer.data) | |
| File "/Users/guyjacks/.pyenv/versions/adr-api/lib/python3.4/site-packages/rest_framework/serializers.py", line 729, in data | |
| ret = super(ListSerializer, self).data | |
| File "/Users/guyjacks/.pyenv/versions/adr-api/lib/python3.4/site-packages/rest_framework/serializers.py", line 262, in data | |
| self._data = self.to_representation(self.instance) | |
| File "/Users/guyjacks/.pyenv/versions/adr-api/lib/python3.4/site-packages/rest_framework/serializers.py", line 647, in to_representation | |
| self.child.to_representation(item) for item in iterable | |
| File "/Users/guyjacks/.pyenv/versions/adr-api/lib/python3.4/site-packages/rest_framework/serializers.py", line 647, in <listcomp> | |
| self.child.to_representation(item) for item in iterable | |
| File "/Users/guyjacks/.pyenv/versions/adr-api/lib/python3.4/site-packages/rest_framework/serializers.py", line 500, in to_representation | |
| ret[field.field_name] = field.to_representation(attribute) | |
| File "/Users/guyjacks/.pyenv/versions/adr-api/lib/python3.4/site-packages/rest_framework/serializers.py", line 647, in to_representation | |
| self.child.to_representation(item) for item in iterable | |
| File "/Users/guyjacks/.pyenv/versions/adr-api/lib/python3.4/site-packages/rest_framework/serializers.py", line 647, in <listcomp> | |
| self.child.to_representation(item) for item in iterable | |
| File "/Users/guyjacks/.pyenv/versions/adr-api/lib/python3.4/site-packages/rest_framework/serializers.py", line 487, in to_representation | |
| attribute = field.get_attribute(instance) | |
| File "/Users/guyjacks/.pyenv/versions/adr-api/lib/python3.4/site-packages/rest_framework/relations.py", line 174, in get_attribute | |
| return get_attribute(instance, self.source_attrs) | |
| File "/Users/guyjacks/.pyenv/versions/adr-api/lib/python3.4/site-packages/rest_framework/fields.py", line 103, in get_attribute | |
| instance = getattr(instance, attr) | |
| AttributeError: 'Note' object has no attribute 'note' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment