Problems encountered
Forbidden (CSRF token missing or incorrect.): /register/
terms of settlement
Because when I was writing Ajax,
data: $(‘# regform’). Serialize (), I wrote less “#”
I hope it will help you, and you must be careful when typing the code!