<p>In Celery configuration use:</p>
<p><code>app.autodiscover_tasks(lambda: [n.name for n in apps.get_app_configs()])</code></p>
<p>instead of:</p>
<p><code>app.autodiscover_tasks(lambda: settings.INSTALLED_APPS)</code></p>
<p><code>autodiscover_tasks()</code> will not understand if you declare in <code>INSTALLED_APPS</code> some app through django <code>AppConfig</code>. (Ex: <code>INSTALLED_APPS += ['users.apps.UsersConfig', ]</code>)</p>
By clicking “Accept all”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage and assist in our marketing efforts. Check our privacy policies.