[Answer]-Sending json from template to view in django

1👍

✅

jQuery will not take an object and turn it into JSON. You must do that yourself using a function like JSON.stringify

data : JSON.stringify({ x: "1", y: "2" , z: "3" }),

Leave a comment