aren't you missing the csrf_token ? https://docs.djangoproject.com/en/dev/ref/contrib/csrf/#ajax
On Thursday, May 16, 2013 8:53:36 AM UTC-3, Hai Nguyen wrote: > > Thanks you for your answer. > I'm trying to change mimetype="application/json; charset=utf-8" but could > not resolve problem > > On Thursday, May 16, 2013 3:02:52 PM UTC+7, Zoltán Bege wrote: >> >> I mean HttpResponse. Sorry! :) >> >> Hi, >>> >>> You should change the mimetype on HttpResponse from >>> mimetype="application/ >>> javascript;charset=UTF-8" to mimetype="application/json; charset=utf-8". >>> >>> -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.