修改用户信息api

This commit is contained in:
zemal committed 2017-07-04 10:26:02 +08:00
1 parent 78a8999b44
commit b931724c9b
4 files changed
+13 -26

No files matched your search

+1
View File
@@ -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: