mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Fixed #32421 -- Made admindocs ModelDetailView show model cached properties.
This commit is contained in:
parent
4372233ebf
commit
dcb094abe8
5 changed files with 21 additions and 4 deletions
|
@ -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):
|
||||
|
|
|
@ -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`
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue