浏览代码

Fixed #27494 -- Fixed typos in docs/topics/db/models.txt.

Tim Graham 8 年之前
父节点
当前提交
3ce212a23c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      docs/topics/db/models.txt

+ 2 - 2
docs/topics/db/models.txt

@@ -1022,8 +1022,8 @@ The reverse name of the ``common.ChildB.m2m`` field will be
 ``common_childb_related`` and the reverse query name will be
 ``common_childb_related`` and the reverse query name will be
 ``common_childbs``. Finally, the reverse name of the ``rare.ChildB.m2m`` field
 ``common_childbs``. Finally, the reverse name of the ``rare.ChildB.m2m`` field
 will be ``rare_childb_related`` and the reverse query name will be
 will be ``rare_childb_related`` and the reverse query name will be
-``rare_childbs``. It's up to you how you use the `'%(class)s'`` and
-``'%(app_label)s`` portion to construct your related name or related query name
+``rare_childbs``. It's up to you how you use the ``'%(class)s'`` and
+``'%(app_label)s'`` portion to construct your related name or related query name
 but if you forget to use it, Django will raise errors when you perform system
 but if you forget to use it, Django will raise errors when you perform system
 checks (or run :djadmin:`migrate`).
 checks (or run :djadmin:`migrate`).