소스 검색

Updated docs that misreported django.apps.apps.ready as being a method.

Simon Meers 11 년 전
부모
커밋
007c5cd367
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      docs/ref/applications.txt

+ 3 - 2
docs/ref/applications.txt

@@ -255,9 +255,10 @@ Application registry
     The application registry provides the following public API. Methods that
     aren't listed below are considered private and may change without notice.
 
-.. method:: apps.ready()
+.. attribute:: apps.ready
 
-    Returns ``True`` if the registry is fully populated.
+    Boolean attribute that is set to ``True`` when the registry is fully
+    populated.
 
 .. method:: apps.get_app_configs()