Django

Code

Changeset 8973

Show
Ignore:
Timestamp:
09/06/08 11:49:31 (3 months ago)
Author:
adrian
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/ref/contrib/contenttypes.txt

    r8506 r8973  
    306306If you don't add the reverse relationship, you can do the lookup manually:: 
    307307 
    308     >>> b = Bookmark.objects.get(url='http://www.djangoproject.com/
     308    >>> b = Bookmark.objects.get(url='http://www.djangoproject.com/'
    309309    >>> bookmark_type = ContentType.objects.get_for_model(b) 
    310310    >>> TaggedItem.objects.filter(content_type__pk=bookmark_type.id,