def post(self): response = JsonResponse({}) response.delete_cookie("jwt") response.data = {"message": "success"} return response