[1.8.x] Fixed #26477 -- Fixed typo in docs/ref/contrib/contenttypes.txt
Backport of 4bb3ddbcc6
from master
This commit is contained in:
parent
b93fb3e757
commit
7c67508a80
|
@ -417,7 +417,7 @@ Defining :class:`~django.contrib.contenttypes.fields.GenericRelation` with
|
|||
This enables filtering, ordering, and other query operations on ``Bookmark``
|
||||
from ``TaggedItem``::
|
||||
|
||||
>>> # Get all tags belonging to books containing `django` in the url
|
||||
>>> # Get all tags belonging to bookmarks containing `django` in the url
|
||||
>>> TaggedItem.objects.filter(bookmarks__url__contains='django')
|
||||
[<TaggedItem: django>, <TaggedItem: python>]
|
||||
|
||||
|
|
Loading…
Reference in New Issue