Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#12688 closed (fixed)

Documentation typo (in class name)

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

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 7 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 7 years ago by Tim Graham

Component: UncategorizedDocumentation

Changed 7 years ago by Tim Graham

Attachment: 12688.diff added

comment:2 Changed 7 years ago by Tim Graham

Has patch: set
Triage Stage: UnreviewedReady for checkin

comment:3 Changed 7 years ago by jbronn

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 Changed 6 years ago by Karen Tracey

(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