开发者

Can I have 2 actions with the same name, 1 for GET and 1 for POST?

I want my login page to be at

/user/login

and have it post to the same path:

/user/login

Is this pos开发者_如何学Pythonsible?


Yes. Just check the action in your method.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜