From 7dd6aafdcc4550170a32a46555053994c22ea8a0 Mon Sep 17 00:00:00 2001 From: Andrey Date: Thu, 10 May 2018 16:10:52 +0300 Subject: [PATCH] =?UTF-8?q?=D0=92=D1=8B=D1=81=D1=82=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D1=8F=D0=B5=D1=82=D1=81=D1=8F=20=D0=BF=D1=80=D0=B5=D0=BF=D0=BE?= =?UTF-8?q?=D0=B4=20=D0=BA=20=D0=BA=D1=83=D1=80=D1=81=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- storage/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/views.py b/storage/views.py index 4b27217..517c216 100644 --- a/storage/views.py +++ b/storage/views.py @@ -59,7 +59,7 @@ class CreateCommentView(APIView): parser_classes = (MultiPartParser,) @staticmethod - def put(request): + def post(request): user_token = request.POST.get("user_token", None) text = request.POST.get("text", None)