Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#14816 closed (invalid)

Error in documentation of InlineModelAdmin options

Reported by: shelldweller Owned by: cogat
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 cogat 4 years ago.
InlineModelAdmin is correctly described.

Download all attachments as: .zip

Change History (11)

comment:1 Changed 4 years ago by shelldweller

  • Cc s.kuzmenko@… added
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 4 years ago by anonymous

  • Keywords easy-pickings added
  • milestone set to 1.3
  • Triage Stage changed from Unreviewed to Accepted

comment:3 Changed 4 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 4 years ago by elbarto

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

comment:5 Changed 4 years ago by cogat

  • Owner changed from nobody to cogat

Changed 4 years ago by cogat

InlineModelAdmin is correctly described.

comment:6 Changed 4 years ago by cogat

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

comment:7 Changed 4 years ago by cogat

  • Has patch set
  • Triage Stage changed from Accepted to Unreviewed

comment:8 Changed 4 years ago by cogat

  • Triage Stage changed from Unreviewed to Accepted

comment:9 Changed 4 years ago by cogat

  • Keywords sprintdec2010 added
  • Resolution set to invalid
  • Status changed from new to closed

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

comment:10 Changed 3 years ago by jacob

  • milestone 1.3 deleted

Milestone 1.3 deleted

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