1
0
mirror of https://github.com/django/django.git synced 2025-08-23 18:29:12 +00:00

[1.10.x] Fixed #27494 -- Fixed typos in docs/topics/db/models.txt.

Backport of 3ce212a23c55c0e2fb99a632afdf04d03cf41e74 from master
This commit is contained in:
Tim Graham 2016-11-16 07:28:20 -05:00
parent 04d4350649
commit fe8b55699a

View File

@ -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 ``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 ``'%(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`).