code: def survey_change_name(request, pk):
      
      survey = get_object_or_404(Survey, pk=pk)
  
      if not request.user.has_perm("formly.change_survey_name", obj=survey):
          raise PermissionDenied()
  
      survey.name = request.POST.get("name")
      survey.save()
      return JsonResponse({
          "status": "OK",
          "name": survey.name
      })
docs: Works well with:
        http://www.appelsiini.net/projects/jeditable