Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #8909 -- Fixed typo in contenttypes docs. Thanks, arien

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8973 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 83dd70fddb99d1622d817c8a7d8ed80f9b7462dd 1 parent 5f83e04
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/ref/contrib/contenttypes.txt
View
2  docs/ref/contrib/contenttypes.txt
@@ -305,7 +305,7 @@ be used to retrieve their associated ``TaggedItems``::
If you don't add the reverse relationship, you can do the lookup manually::
- >>> b = Bookmark.objects.get(url='http://www.djangoproject.com/)
+ >>> b = Bookmark.objects.get(url='http://www.djangoproject.com/')
>>> bookmark_type = ContentType.objects.get_for_model(b)
>>> TaggedItem.objects.filter(content_type__pk=bookmark_type.id,
... object_id=b.id)
Please sign in to comment.
Something went wrong with that request. Please try again.