Opened 8 years ago

Closed 7 years ago

Last modified 5 years ago

#10111 closed (fixed)

InlineModelAdmin documentation is confusing

Reported by: medhat Owned by: Kevin Kubasik
Component: Documentation Version: 1.0
Severity: Keywords: kkmegapatch
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

The documentation for InlineModelAdmin in http://docs.djangoproject.com/en/dev/ref/contrib/admin/#inlinemodeladmin-objects is using two models: Book and Author, without showing the models. Since the relationship between book and author is really many-to-many, it is not completely clear from the example where the foreign key is assumed. I am almost sure that the model are somewhere else in the documentation, but I could not find it either on the admin documentation or on the model syntax documentation page. Stating the models next to the example explicitly will make it much clearer.

Attachments (1)

10111.patch (997 bytes) - added by medhat 8 years ago.
I finally found the models in the modelforms page

Download all attachments as: .zip

Change History (6)

comment:1 Changed 8 years ago by Jacob

milestone: 1.1
Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted

Changed 8 years ago by medhat

Attachment: 10111.patch added

I finally found the models in the modelforms page

comment:2 Changed 8 years ago by medhat

Has patch: set

comment:3 Changed 7 years ago by Kevin Kubasik

Keywords: kkmegapatch added
Owner: changed from nobody to Kevin Kubasik

comment:4 Changed 7 years ago by Jacob

Resolution: fixed
Status: newclosed

Fixed by [10303].

comment:5 Changed 5 years ago by Jacob

milestone: 1.1

Milestone 1.1 deleted

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