mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed #32421 -- Made admindocs ModelDetailView show model cached properties.
This commit is contained in:
committed by
Mariusz Felisiak
parent
4372233ebf
commit
dcb094abe8
@@ -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`
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user