Opened 8 years ago

Closed 8 years ago

Last modified 5 years ago

#7983 closed (fixed)

ModelAdmin's `fields` option is undocumented

Reported by: julien Owned by: nobody
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


The Admin documentation is missing a description for the ModelAdmin's fields option. At the moment, only fieldsets is described.


Attachments (1)

7983.fields_doc.diff (1.1 KB) - added by julien 8 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 8 years ago by julien

  • Component changed from Uncategorized to Documentation
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 8 years ago by mrts

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

Please check things carefully before you open tickets. Both fields and fieldsets are documented on the URL you gave.

comment:3 Changed 8 years ago by kmtracey

  • Resolution invalid deleted
  • Status changed from closed to reopened

The fields element of the field_options dictionary within a fieldsets specification is documented.

Fields as a ModelAdmin option (an alternative to fieldsets) is not, near as I can tell. If it is there somewhere it ought to have a place in the contents list on the right, and it doesn't. If I'm missing the overall description that contents list item at least should be added, so it can be found. Searching on 'fields' on that page returns rather a lot of hits.

comment:4 Changed 8 years ago by julien

Karen and mrts, I confirm that I meant fields as the alternative for fieldsets, not the dictionary key within the fieldsets option.

I attached a simple patch which hopefully is clear enough.

Changed 8 years ago by julien

comment:5 Changed 8 years ago by jamesturk

  • Has patch set

comment:6 Changed 8 years ago by brosner

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

(In [8175]) Fixed #7983 -- Added fields to the ModelAdmin section in the admin documentation. Thanks julien for the report and patch.

comment:7 Changed 5 years ago by jacob

  • milestone 1.0 deleted

Milestone 1.0 deleted

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