I have the following setup with a fresh installed celery and django 1.4:
settings.py:
import djcelery
djcelery.setup_loader()
BROKER_HOST = \'localhost
For any one who stumbles here looking for similar problem solution.
In my case it was switching from old module bases INSTALLED_APPS
setting to a new AppConfig based configuration.
New applications should avoid default_app_config. Instead they should require the dotted path to the appropriate AppConfig subclass to be configured explicitly in INSTALLED_APPS.
To fix this you should change the way you feed packages to celery, as stated here in the 2248 Celery issue:
from django.apps import apps
app.autodiscover_tasks(lambda: [n.name for n in apps.get_app_configs()]
Instead of the old Celery 3 way:
app.autodiscover_tasks(lambda: settings.INSTALLED_APPS)