diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2008-09-06 16:49:31 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2008-09-06 16:49:31 +0000 |
| commit | 83dd70fddb99d1622d817c8a7d8ed80f9b7462dd (patch) | |
| tree | 1e614794f9b99898e909ca9d025a782890a69d45 /docs | |
| parent | 5f83e0488af7ad9d56584834f9e1fea772fdeea5 (diff) | |
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
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/contrib/contenttypes.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
