diff options
| author | Ramon Saraiva <ramonsaraiva@gmail.com> | 2021-02-10 09:33:57 -0300 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-02-11 06:50:50 +0100 |
| commit | dcb094abe8cff505c4824532a8375f5edef407d5 (patch) | |
| tree | cd5c5417120ab78f776b9316ba3b9ac0bca822f0 /docs | |
| parent | 4372233ebf9acef606f3d2f7be4d6ba73b168084 (diff) | |
Fixed #32421 -- Made admindocs ModelDetailView show model cached properties.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/contrib/admin/admindocs.txt | 4 | ||||
| -rw-r--r-- | docs/releases/4.0.txt | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/docs/ref/contrib/admin/admindocs.txt b/docs/ref/contrib/admin/admindocs.txt index 5a95e101ed..38c67ea6bd 100644 --- a/docs/ref/contrib/admin/admindocs.txt +++ b/docs/ref/contrib/admin/admindocs.txt @@ -55,6 +55,10 @@ 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:: 4.0 + + Older versions don't display model cached properties. + A model with useful documentation might look like this:: class BlogEntry(models.Model): diff --git a/docs/releases/4.0.txt b/docs/releases/4.0.txt index 88a73369ef..9295f086b2 100644 --- a/docs/releases/4.0.txt +++ b/docs/releases/4.0.txt @@ -43,6 +43,8 @@ Minor features * The admindocs now allows esoteric setups where :setting:`ROOT_URLCONF` is not a string. +* The model section of the ``admindocs`` now shows cached properties. + :mod:`django.contrib.auth` ~~~~~~~~~~~~~~~~~~~~~~~~~~ |
