mirror of
https://github.com/django/django.git
synced 2025-07-18 16:49:13 +00:00
[1.8.x] Fixed #26477 -- Fixed typo in docs/ref/contrib/contenttypes.txt
Backport of 4bb3ddbcc674601743c63311d7efbf0e1fd19742 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…
x
Reference in New Issue
Block a user