Django

Code

Changeset 7111

Show
Ignore:
Timestamp:
02/13/08 23:26:52 (7 months ago)
Author:
russellm
Message:

Fixed #6600 -- Corrected typos in contenttype documentation.

Files:

Legend:

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

    r6302 r7111  
    216216creating a ``TaggedItem``:: 
    217217 
    218     >>> from django.contrib.models.auth import User 
     218    >>> from django.contrib.auth.models import User 
    219219    >>> guido = User.objects.get(username='Guido') 
    220220    >>> t = TaggedItem(content_object=guido, tag='bdfl') 
     
    236236be used to retrieve their associated ``TaggedItems``:: 
    237237 
    238     >>> b = Bookmark('http://www.djangoproject.com/') 
     238    >>> b = Bookmark(url='http://www.djangoproject.com/') 
    239239    >>> b.save() 
    240240    >>> t1 = TaggedItem(content_object=b, tag='django')