From d90394e3067d0bf7485fad7a1d3f58d6e944f739 Mon Sep 17 00:00:00 2001 From: Andrey Date: Thu, 10 May 2018 16:12:56 +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 517c216..4b27217 100644 --- a/storage/views.py +++ b/storage/views.py @@ -59,7 +59,7 @@ class CreateCommentView(APIView): parser_classes = (MultiPartParser,) @staticmethod - def post(request): + def put(request): user_token = request.POST.get("user_token", None) text = request.POST.get("text", None)