From 3ce212a23c55c0e2fb99a632afdf04d03cf41e74 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Wed, 16 Nov 2016 07:28:20 -0500 Subject: [PATCH] Fixed #27494 -- Fixed typos in docs/topics/db/models.txt. --- docs/topics/db/models.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/topics/db/models.txt b/docs/topics/db/models.txt index 37f325d4a3..1d07d3db6f 100644 --- a/docs/topics/db/models.txt +++ b/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_childbs``. Finally, the reverse name of the ``rare.ChildB.m2m`` field 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 checks (or run :djadmin:`migrate`).