This does not work for me
$> cat / etc / lsb-release
DISTRIB_ID = Ubuntu
DISTRIB_RELEASE = 12.04
DISTRIB_CODENAME = exact
DISTRIB_DESCRIPTION = "Ubuntu 12.04.2 LTS"
django 1.7rc3
celery 3.1.13
python 2.7
I'm trying to run
celery worker -A <project_name>
and i get
django.core.exceptions.AppRegistryNotReady: Models aren't loaded yet.
The runerver command works fine, so I donβt think it is related to my settings?
python manage.py runserver 0.0.0.0:8080
I double checked celery.py and confirmed that it has the correct values ββfor the following lines:
# set the default Django settings module for the 'celery' program. os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'proj.settings') app = Celery('proj')
Is there anything else I should do?
source share