Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#12688 closed (fixed)

Documentation typo (in class name)

Reported by: Oroku Saki Owned by: nobody
Component: Documentation Version: dev
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

In http://docs.djangoproject.com/en/dev/topics/db/managers/#custom-managers-and-model-inheritance, if you scroll down a little to the class AbstractBase(models.Model) example, you'll see:

class AbstractBase(models.Model):
    ...
    objects = CustomerManager()

    class Meta:
        abstract = True

However, objects = CustomerManager() is supposed to be objects = CustomManager() and in the following examples and comments it's referred to as CustomManager.

Attachments (1)

12688.diff (397 bytes ) - added by Tim Graham 15 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by Tim Graham, 15 years ago

Component: UncategorizedDocumentation

by Tim Graham, 15 years ago

Attachment: 12688.diff added

comment:2 by Tim Graham, 15 years ago

Has patch: set
Triage Stage: UnreviewedReady for checkin

comment:3 by jbronn, 15 years ago

Resolution: fixed
Status: newclosed

(In [12485]) Fixed #12688 -- Removed typo in manager docs. Thanks, orokusaki for the report and timo for the patch.

comment:4 by Karen Tracey, 15 years ago

(In [13079]) [1.1.X] Fixed #12688 -- Removed typo in manager docs. Thanks, orokusaki for the report and timo for the patch.

r12485 from trunk.

Note: See TracTickets for help on using tickets.
Back to Top