Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
>>> print type(a) <type 'list'> >>> response.content = a >>> print type(response.content) <type 'str'>
この「魔法」について説明していただけますか?は から にどのようにa変換さlistれstringますか?
a
list
string
responseのインスタンスですrest_framework.response.Response。
response
rest_framework.response.Response