diff options
author | Taranjeet <reachtotj@gmail.com> | 2016-03-01 15:07:22 +0530 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2016-03-01 08:34:16 -0500 |
commit | 46c6ac1ffc619a5f0c2acf43fd48f85e1971b8a8 (patch) | |
tree | d259f6bfeccf4b673ca713b44360ab5a9bb453eb | |
parent | 48cf7516409c668bf11e24e6b7cd8eaea13ae3b8 (diff) | |
download | django-46c6ac1ffc619a5f0c2acf43fd48f85e1971b8a8.tar.gz |
[1.9.x] Fixed typos in docs/ref/models/meta.txt.
Backport of 11a8207d4294b46561ce34b37803f191014509af from master
-rw-r--r-- | docs/ref/models/meta.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/models/meta.txt b/docs/ref/models/meta.txt index b0868d341c..9e4d9435a8 100644 --- a/docs/ref/models/meta.txt +++ b/docs/ref/models/meta.txt @@ -179,11 +179,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: |