소스 검색

Fixed #19712 - Clarified admindocs regarding which attributes appear.

Thanks Daniele Procida for the report.
Tim Graham 12 년 전
부모
커밋
b5b63079bd
1개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 4 3
      docs/ref/contrib/admin/admindocs.txt

+ 4 - 3
docs/ref/contrib/admin/admindocs.txt

@@ -57,9 +57,10 @@ 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 and methods (without any arguments) available
+on it. While model properties don't have any arguments, they are not listed.
+Relationships to other models appear as hyperlinks. Descriptions are pulled
+from ``help_text`` attributes on fields or from docstrings on model methods.
 
 A model with useful documentation might look like this::