From 747ff7a30b79e12d344169200de24f88a22ddee9 Mon Sep 17 00:00:00 2001 From: humbertotm Date: Mon, 28 May 2018 19:59:03 -0700 Subject: Fixed #29385 -- Made admindocs ModelDetailView show model properties. Original patch by bkaluza. Tests and docs by humbertotm. --- docs/ref/contrib/admin/admindocs.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/ref/contrib/admin/admindocs.txt b/docs/ref/contrib/admin/admindocs.txt index e519bd8ed1..7779fe822a 100644 --- a/docs/ref/contrib/admin/admindocs.txt +++ b/docs/ref/contrib/admin/admindocs.txt @@ -51,9 +51,13 @@ Model reference =============== The **models** section of the ``admindocs`` page describes each model in the -system along with all the fields and methods available on it. Relationships -to other models appear as hyperlinks. Descriptions are pulled from ``help_text`` -attributes on fields or from docstrings on model methods. +system along with all the fields, properties, and methods available on it. +Relationships to other models appear as hyperlinks. Descriptions are pulled +from ``help_text`` attributes on fields or from docstrings on model methods. + +.. versionchanged:: 2.2 + + Older versions don't display model properties. A model with useful documentation might look like this:: -- cgit v1.3