mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue