浏览代码

[5.0.x] Added backticks around name argument in tutorial 3.

Backport of acfdf395061537f131e6116383284690f17aa8d9 from main
virgitl.io 1 年之前
父节点
当前提交
8480f2ec36
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/intro/tutorial03.txt

+ 1 - 1
docs/intro/tutorial03.txt

@@ -401,7 +401,7 @@ template, the link was partially hardcoded like this:
 
 The problem with this hardcoded, tightly-coupled approach is that it becomes
 challenging to change URLs on projects with a lot of templates. However, since
-you defined the name argument in the :func:`~django.urls.path` functions in
+you defined the ``name`` argument in the :func:`~django.urls.path` functions in
 the ``polls.urls`` module, you can remove a reliance on specific URL paths
 defined in your url configurations by using the ``{% url %}`` template tag: