mirror of https://github.com/django/django.git
Fixed #26477 -- Fixed typo in docs/ref/contrib/contenttypes.txt
This commit is contained in:
parent
5cda4677b3
commit
4bb3ddbcc6
|
@ -391,7 +391,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')
|
||||
<QuerySet [<TaggedItem: django>, <TaggedItem: python>]>
|
||||
|
||||
|
|
Loading…
Reference in New Issue