Opened 6 years ago

Closed 6 years ago

#6601 closed (duplicate)

contenttypes documentation typos

Reported by: anonymous Owned by: nobody
Component: Documentation Version: master
Severity: Keywords: contenttypes doc typo
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


Typo 1

The following code snippet from will raise an ImportError:

>>> from django.contrib.models.auth import User
Traceback (most recent call last):
  File "<console>", line 1, in <module>
ImportError: No module named models.auth

Apparently, this is what is actually meant:

>>> from django.contrib.auth.models import User

Typo 2

Also, near the end of the page,

>>> b = Bookmark('')
IntegrityError: datatype mismatch

appears to be missing a kwarg:

>>> b = Bookmark(url='')


Attachments (0)

Change History (1)

comment:1 Changed 6 years ago by Collin Grady <cgrady@…>

  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #6600

Add Comment

Modify Ticket

Change Properties
<Author field>
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.