阅读背景:

当通过AJAX发送重定向响应时,如何防止浏览器重定向?

来源:互联网 

I'm trying to AJAX-ify the Django contact_form app using Django (1.4.2). I want to let Django do the heavy lifting when it comes to validation and template rendering so I can keep my templates consistent and server side. Therefore, I'm returning "partial" template renderings to inject into the DOM as the user submits the form.I'm trying to AJAX-ify the Django contact_form




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: