From 83dd70fddb99d1622d817c8a7d8ed80f9b7462dd Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Sat, 6 Sep 2008 16:49:31 +0000 Subject: [PATCH] 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 --- docs/ref/contrib/contenttypes.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/contrib/contenttypes.txt b/docs/ref/contrib/contenttypes.txt index fe9a32b64f..2a1c831408 100644 --- a/docs/ref/contrib/contenttypes.txt +++ b/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)