Bladeren bron

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

Simon Meers 11 jaren geleden
bovenliggende
commit
007c5cd367
1 gewijzigde bestanden met toevoegingen van 3 en 2 verwijderingen
  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()