Prechádzať zdrojové kódy

Replace autodiscover() with autodiscover_tasks() in whatsnew-4.0.rst (#3370)

[skip ci]
Berker Peksag 8 rokov pred
rodič
commit
dde02602ed
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      docs/whatsnew-4.0.rst

+ 2 - 2
docs/whatsnew-4.0.rst

@@ -444,12 +444,12 @@ upgrade to 4.0:
 Django: Auto-discover now supports Django app configurations
 Django: Auto-discover now supports Django app configurations
 ------------------------------------------------------------
 ------------------------------------------------------------
 
 
-The :meth:`@autodiscover` function can now be called without arguments,
+The ``autodiscover_tasks()`` function can now be called without arguments,
 and the Django handler will automatically find your installed apps:
 and the Django handler will automatically find your installed apps:
 
 
 .. code-block:: python
 .. code-block:: python
 
 
-    app.autodiscover()
+    app.autodiscover_tasks()
 
 
 The Django integration :ref:`example in the documentation
 The Django integration :ref:`example in the documentation
 <django-first-steps>` has been updated to use the argument-less call.
 <django-first-steps>` has been updated to use the argument-less call.