Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#14816 closed (invalid)

Error in documentation of InlineModelAdmin options

Reported by: shelldweller Owned by: Greg Turner
Component: Documentation Version: master
Severity: Keywords: easy-pickings sprintdec2010
Cc: s.kuzmenko@… Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

On http://docs.djangoproject.com/en/dev/ref/contrib/admin/#inlinemodeladmin-options it says: "The InlineModelAdmin class is a subclass of ModelAdmin so it inherits all the same functionality as well as some of its own".

This is incorrect. InlineModelAdmin is not a subclass of ModelAdmin and thus does not inherit all of the functionality of the latter. Instead both InlineModelAdmin and ModelAdmin are subclasses of BaseModelAdmin and they share only some common functionality.

Attachments (1)

inline_model_admin_docs_fix.diff (1.8 KB) - added by Greg Turner 6 years ago.
InlineModelAdmin is correctly described.

Download all attachments as: .zip

Change History (11)

comment:1 Changed 6 years ago by shelldweller

Cc: s.kuzmenko@… added

comment:2 Changed 6 years ago by anonymous

Keywords: easy-pickings added
milestone: 1.3
Triage Stage: UnreviewedAccepted

comment:3 Changed 6 years ago by elbarto

If you write the correct text which replace the current's one, I can modify it in source.

comment:4 Changed 6 years ago by elbarto

With modify the source I wanted to say "send a patch".

comment:5 Changed 6 years ago by Greg Turner

Owner: changed from nobody to Greg Turner

Changed 6 years ago by Greg Turner

InlineModelAdmin is correctly described.

comment:6 Changed 6 years ago by Greg Turner

Some changes to this patch are necessary for when #13862 arrives.

comment:7 Changed 6 years ago by Greg Turner

Has patch: set
Triage Stage: AcceptedUnreviewed

comment:8 Changed 6 years ago by Greg Turner

Triage Stage: UnreviewedAccepted

comment:9 Changed 6 years ago by Greg Turner

Keywords: sprintdec2010 added
Resolution: invalid
Status: newclosed

I've merged this patch into the one for #13862, incorporating the changes introduced by new functionality there.

comment:10 Changed 5 years ago by Jacob

milestone: 1.3

Milestone 1.3 deleted

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