阅读背景:

如何统一Python Pyramid视图以处理Ajax / html表单POST

来源:互联网 

I have some HTML forms in my Python Pyramid application. I'd like them to work via AJAX when JavaScript is enabled and when JavaScript is disabled. Now I use different views for AJAX and normal form posts, but the code seems almost the same for these functions, except response. I use view class like this (class body):I have some HTML forms in my Python Pyramid app




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

分享到: