Opened 15 years ago

Closed 15 years ago

Last modified 13 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: no UI/UX: no

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 15 years ago.
I finally found the models in the modelforms page

Download all attachments as: .zip

Change History (6)

comment:1 by Jacob, 15 years ago

milestone: 1.1
Triage Stage: UnreviewedAccepted

by medhat, 15 years ago

Attachment: 10111.patch added

I finally found the models in the modelforms page

comment:2 by medhat, 15 years ago

Has patch: set

comment:3 by Kevin Kubasik, 15 years ago

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

comment:4 by Jacob, 15 years ago

Resolution: fixed
Status: newclosed

Fixed by [10303].

comment:5 by Jacob, 13 years ago

milestone: 1.1

Milestone 1.1 deleted

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