Code

Opened 6 years ago

Closed 6 years ago

#8884 closed (duplicate)

Typo in http://docs.djangoproject.com/en/dev/topics/db/models/#automatic-primary-key-fields

Reported by: schnuffle Owned by: nobody
Component: Documentation Version: 1.0
Severity: Keywords: Typo
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Multiple inheritance¶

Just as with Python's subclassing, it's possible for a Django model to inherit from multiple parent models. Keep in mind that normal Python name resolution rules apply. The first base class that a particular name appears in (e.g. Meta) will be the one that is used; for example, his means that if multiple parents contain a Meta class, only the first one is going to be used, and all others will be ignored.

Attachments (0)

Change History (1)

comment:1 Changed 6 years ago by arien

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to duplicate
  • Status changed from new to closed

#8883 contains this typo and others.

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.