In django Some guys experience "csrfmiddlewhere" problem while passing single data to method without form using jquery ajax post method...
Here is a solution for that.....
put {% csrf_token %} in any where in page........preferebly in empty form.
in your javascript file put this code and change it according to your ids......
No comments:
Post a Comment