Django csrf token. You don't have to put it in your view function. contrib. js. ...