Code

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#12688 closed (fixed)

Documentation typo (in class name)

Reported by: orokusaki 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 timo 4 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 4 years ago by timo

  • Component changed from Uncategorized to Documentation

Changed 4 years ago by timo

comment:2 Changed 4 years ago by timo

  • Has patch set
  • Triage Stage changed from Unreviewed to Ready for checkin

comment:3 Changed 4 years ago by jbronn

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

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

comment:4 Changed 4 years ago by kmtracey

(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.

Add Comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.