Django + Celery + Rabbitmq setting
The async tasks django framework should be handled by RabbitMQ. Celery is the better one to fit in between.
Before I dump the d*** Ubuntu 11.10, I need to document something here to record the setting of celery for django.
It's very simple for setup and config celery for django. Please refer to Celery documents: http://django-celery.readthedocs.org/en/latest/getting-started/first-steps-with-django.html
But in the tutorial, they missed one line in the setting.py:
CELERY_IMPORTS = ("myapp.jobs", )You can refer for more details about the setting in http://stackoverflow.com/questions/4643065/why-does-celery-work-in-python-shell-but-not-in-my-django-views-import-proble/6899753#6899753
PS: Don't upgrade to Ubuntu 11.10, unless you are sure that is what u want!!!