Skip to content

Commit 958e4cf

Browse files
authored
Added missing import in docs/ref/contrib/contenttypes.txt.
1 parent 296b75a commit 958e4cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/ref/contrib/contenttypes.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,7 @@ with non-homogeneous set of results.
607607

608608
.. code-block:: pycon
609609

610+
>>> from django.contrib.contenttypes.prefetch import GenericPrefetch
610611
>>> bookmark = Bookmark.objects.create(url="https://www.djangoproject.com/")
611612
>>> animal = Animal.objects.create(name="lion", weight=100)
612613
>>> TaggedItem.objects.create(tag="great", content_object=bookmark)

0 commit comments

Comments
 (0)