#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)
Change History (5)
comment:1 by , 15 years ago
Component: | Uncategorized → Documentation |
---|
by , 15 years ago
Attachment: | 12688.diff added |
---|
comment:2 by , 15 years ago
Has patch: | set |
---|---|
Triage Stage: | Unreviewed → Ready for checkin |
comment:3 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 by , 15 years ago
Note:
See TracTickets
for help on using tickets.
(In [12485]) Fixed #12688 -- Removed typo in manager docs. Thanks, orokusaki for the report and timo for the patch.