A template is a text document, or a normal Python string, that is marked up using the Django template language. A template can contain block tags and variables.
As was the case in Example 8.2, "Using the repository layer with Python", this program is pool-free and uses, for the most part, normal Python datatypes.
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必定有一个斜杠。
Innehållet kan vara olämpligt
Exemplen används bara för att hjälpa dig att översätta det sökta ordet eller uttrycket i olika sammanhang. De har inte valts ut eller validerats av oss och kan innehålla olämpliga termer eller föreställningar. Rapportera gärna exempel som behöver redigeras eller tas bort. Grova eller talspråkliga översättningar har oftast markerats med rött eller orange.
Inga resultat hittades för denna betydelse.
Synonyms and analogies of "normal python" in engelska