奥拉!
我不知道我的“/”直接指向我的招摇会发生了什么。工作正常,但现在出现这个问题:
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
有人知道发生了什么吗?
Tks
(对不起我糟糕的英语)