Преглед на файлове

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()