完成上传自定义头像的功能

This commit is contained in:
virusdefender
2016-05-31 19:18:43 +08:00
parent be49cf941a
commit c61dea63af
9 changed files with 40 additions and 17 deletions

View File

@@ -9,6 +9,7 @@ import logging
logger = logging.getLogger("app_info")
class SimditorImageUploadAPIView(APIView):
def post(self, request):
if "image" not in request.FILES: