Opened 6 years ago

Closed 6 years ago

Last modified 3 years ago

#10111 closed (fixed)

InlineModelAdmin documentation is confusing

Reported by: medhat Owned by: kkubasik
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 6 years ago.
I finally found the models in the modelforms page

Download all attachments as: .zip

Change History (6)

comment:1 Changed 6 years ago by jacob

  • milestone set to 1.1
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

Changed 6 years ago by medhat

I finally found the models in the modelforms page

comment:2 Changed 6 years ago by medhat

  • Has patch set

comment:3 Changed 6 years ago by kkubasik

  • Keywords kkmegapatch added
  • Owner changed from nobody to kkubasik

comment:4 Changed 6 years ago by jacob

  • Resolution set to fixed
  • Status changed from new to closed

Fixed by [10303].

comment:5 Changed 3 years ago by jacob

  • milestone 1.1 deleted

Milestone 1.1 deleted

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