...
axios.post("{% url 'ajax' %}",{
xsrfHeaderName: "X-CSRFToken",
data: {
"text": self.note_t
},
...
@csrf_exempt
def ajax(request):
...
if request.method == 'POST':
...
note = Notes.objects.get(user=request.user)
note.text = text
note.save(update_fields=['text'])
...