From 11a8207d4294b46561ce34b37803f191014509af Mon Sep 17 00:00:00 2001 From: Taranjeet Date: Tue, 1 Mar 2016 15:07:22 +0530 Subject: [PATCH] Fixed typos in docs/ref/models/meta.txt. --- docs/ref/models/meta.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ref/models/meta.txt b/docs/ref/models/meta.txt index dfb58b5e78..36533e36af 100644 --- a/docs/ref/models/meta.txt +++ b/docs/ref/models/meta.txt @@ -156,11 +156,11 @@ can be made to convert your code to the new API: then check if: - ``f.auto_created == False``, because the new ``get_field()`` - API will find "reverse" relations), and: + API will find "reverse" relations, and: - ``f.is_relation and f.related_model is None``, because the new ``get_field()`` API will find - :class:`~django.contrib.contenttypes.fields.GenericForeignKey` relations; + :class:`~django.contrib.contenttypes.fields.GenericForeignKey` relations. * ``MyModel._meta.get_field_by_name(name)`` returns a tuple of these four values with the following replacements: