https://docs.djangoproject.com/en/dev/ref/contrib/csrf/#ajax
[]'s Lucas Magnum. 2013/7/26 Lucas Magnum <[email protected]> > Are you passing crsf_token in ajax post? > > []'s > > Lucas Magnum. > > > 2013/7/26 heni yemun <[email protected]> > >> Hi, >> I'm trying to get a django project interact with ajax based site. The >> problem is that when i use the send function to send a POST data >> asynchronously the django app returns a 500 code and the server doesn't do >> anything. How do i correct this? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/django-users. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out.

