Explorar el Código

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

Simon Meers hace 11 años
padre
commit
007c5cd367
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  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()