Commit 1a9f90a0 authored by ibuler's avatar ibuler

Modify api

parent 3eb4897b
......@@ -28,7 +28,8 @@ class UserDetailDeleteUpdateApi(generics.RetrieveUpdateDestroyAPIView):
serializer_class = UserSerializer
def put(self, request, *args, **kwargs):
logger.debug(request.META)
for k, v in request.META.items():
logger.debug("%s --> %s" % (k, v))
return super(UserDetailDeleteUpdateApi, self).put(request, *args, **kwargs)
# def get(self, request, *args, **kwargs):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment