对象不支持项目分配

时间:2016-11-21 23:18:40

标签: python django django-rest-framework swagger django-swagger

OLA!

我不知道我的“/”是什么意思发生在我的招摇。 工作正常,但现在出现这个问题:

Traceback:  

File "/home/guilherme/.virtualenvs/api/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
  149.                     response = self.process_exception_by_middleware(e, request)

File "/home/guilherme/.virtualenvs/api/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
  147.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/home/guilherme/.virtualenvs/api/local/lib/python2.7/site-packages/django/views/decorators/csrf.py" in wrapped_view
  58.         return view_func(*args, **kwargs)

File "/home/guilherme/.virtualenvs/api/local/lib/python2.7/site-packages/django/views/generic/base.py" in view
  68.             return self.dispatch(request, *args, **kwargs)

File "/home/guilherme/.virtualenvs/api/local/lib/python2.7/site-packages/rest_framework/views.py" in dispatch
  477.             response = self.handle_exception(exc)

File "/home/guilherme/.virtualenvs/api/local/lib/python2.7/site-packages/rest_framework/views.py" in handle_exception
  437.             self.raise_uncaught_exception(exc)

File "/home/guilherme/.virtualenvs/api/local/lib/python2.7/site-packages/rest_framework/views.py" in raise_uncaught_exception
  448.         raise exc

Exception Type: TypeError at /
Exception Value: 'Link' object does not support item assignment
Request information:
GET: No GET data

任何人都有想法会发生什么?

韩国社交协会

(抱歉我可怕的英语)

0 个答案:

没有答案