django csrf

Li Hui lih at garena.com
Fri Jun 25 05:11:59 EDT 2010


When I add enctype="text/plain" to a post form like <form action="/auth"
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?

-- 
Li Hui
http://www.lihui.org




More information about the Python-list mailing list