ajax and django

22 views
Skip to first unread message

heni yemun

unread,
Jul 26, 2013, 10:51:49 AM7/26/13
to django...@googlegroups.com
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?

Lucas Magnum

unread,
Jul 26, 2013, 10:53:26 AM7/26/13
to django...@googlegroups.com
Are you passing crsf_token in ajax post?

[]'s

Lucas Magnum.


2013/7/26 heni yemun <hen...@gmail.com>
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 django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Lucas Magnum

unread,
Jul 26, 2013, 10:54:22 AM7/26/13
to django...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages