Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#14816 closed (invalid)

Error in documentation of InlineModelAdmin options

Reported by: Sergiy Kuzmenko Owned by: Greg Turner
Component: Documentation Version: dev
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: no UI/UX: no

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 13 years ago.
InlineModelAdmin is correctly described.

Download all attachments as: .zip

Change History (11)

comment:1 by Sergiy Kuzmenko, 13 years ago

Cc: s.kuzmenko@… added

comment:2 by anonymous, 13 years ago

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

comment:3 by elbarto, 13 years ago

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

comment:4 by elbarto, 13 years ago

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

comment:5 by Greg Turner, 13 years ago

Owner: changed from nobody to Greg Turner

by Greg Turner, 13 years ago

InlineModelAdmin is correctly described.

comment:6 by Greg Turner, 13 years ago

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

comment:7 by Greg Turner, 13 years ago

Has patch: set
Triage Stage: AcceptedUnreviewed

comment:8 by Greg Turner, 13 years ago

Triage Stage: UnreviewedAccepted

comment:9 by Greg Turner, 13 years ago

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 by Jacob, 13 years ago

milestone: 1.3

Milestone 1.3 deleted

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