summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorhumbertotm <humberto.htm@gmail.com>2018-05-28 19:59:03 -0700
committerTim Graham <timograham@gmail.com>2018-06-03 21:00:28 -0400
commit747ff7a30b79e12d344169200de24f88a22ddee9 (patch)
treec0e40c0ce672866b3d613157d0641dddfa93ce76 /docs/ref
parent085ebc5f1a0e96784516e551cb9225cc6836f1d0 (diff)
Fixed #29385 -- Made admindocs ModelDetailView show model properties.
Original patch by bkaluza. Tests and docs by humbertotm.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/contrib/admin/admindocs.txt10
1 files changed, 7 insertions, 3 deletions
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::