Re: django csrf

2010-06-25 Thread Bruno Desthuilliers
Li Hui a écrit : > When I add enctype="text/plain" to a post form like method="post" enctype="text/plain">, there is a "CSRF verification > failed." error. > But when I remove it, all is right. > Who can tell me why? > http://groups.google.com/group/django-users http://catb.org/esr/faqs/smart-qu

django csrf

2010-06-25 Thread Li Hui
When I add enctype="text/plain" to a post form like , there is a "CSRF verification failed." error. But when I remove it, all is right. Who can tell me why? -- Li Hui http://www.lihui.org -- http://mail.python.org/mailman/listinfo/python-list