Django Book 翻译
菜单>:
TOC
返回
原文:
When a request comes in, Django tries to match the URLconf patterns against the requested URL, as a normal Python string (not as a Unicode string). This does not include ``GET`` or ``POST`` parameters, or the domain name. It also does not include the leading slash, because every URL has a leading slash.
翻译:
当一个请求进来时,Django试着将请求的URL作为一个普通Python字符串进行URLconf模式匹配(而不是作为一个Unicode字符串)。这并不包括 ``GET`` 或 ``POST`` 参数或域名。它也不包括第一个斜杠,因为每个URL必定有一个斜杠。
备注:
译者: