修改用户信息api
This commit is contained in:
1 parent
78a8999b44
commit
b931724c9b
4 files changed
+13
-26
No files matched your search
@@ -65,6 +65,7 @@ class APIView(View):
|
||||
for parser in self.request_parsers:
|
||||
if content_type.startswith(parser.content_type):
|
||||
break
|
||||
# else means the for loop is not interrupted by break
|
||||
else:
|
||||
raise ValueError("unknown content_type '%s'" % content_type)
|
||||
if body:
|
||||
|
||||
Reference in new issue
Block a user