Ver código fonte

Remove outdated sentence about passing a lambda to autodiscover_tasks() (#3371)

Berker Peksag 8 anos atrás
pai
commit
daaaad6adc
1 arquivos alterados com 1 adições e 3 exclusões
  1. 1 3
      docs/django/first-steps-with-django.rst

+ 1 - 3
docs/django/first-steps-with-django.rst

@@ -111,9 +111,7 @@ of your installed apps, following the ``tasks.py`` convention::
 
 
 This way you don't have to manually add the individual modules
-to the :setting:`CELERY_IMPORTS <imports>` setting. The ``lambda`` so that the
-auto-discovery can happen only when needed, and so that importing your
-module won't evaluate the Django settings object.
+to the :setting:`CELERY_IMPORTS <imports>` setting.
 
 Finally, the ``debug_task`` example is a task that dumps
 its own request information. This is using the new ``bind=True`` task option