Form CSRF token mismatch


I’m trying to append a form with JQuery inside one of my views, but when I submit it, I’m getting this error:

CSRF token mismatch.

If anyone could help to resolve this issue.

@Nordine, I haven’t had to solve this problem but I’ve seen it go by a couple of times in the forums. Try searching for ‘ajax csrf’ (which brought up a couple of topics) or ‘csrf’(which brought up a lot more). Probably there is a more knowledgeable answer in there than any stumbling around I might offer. :slight_smile:

1 Like