Django Book 翻译
菜单>:
TOC
返回
原文:
The request method (e.g., ``POST`` , ``GET`` , ``HEAD`` ) is *not* taken into account when traversing the URLconf. In other words, all request methods will be routed to the same function for the same URL. Its the responsibility of a view function to perform branching based on request method.
翻译:
在解析URLconf时,请求方法(例如, ``POST`` , ``GET`` , ``HEAD`` )并 *不会* 被考虑。换而言之,对于相同的URL的所有请求方法将被导向到相同的函数中。因此根据请求方法来处理分支是视图函数的责任。
备注:
译者: