Asynchronous tasks with Django and Celery

Posted on Apr 26, 2012 (one year ago). Seen 1,710 times. One comment. Permalink Feed
Photo Simeon Franklin
Marakana, Inc.
Member since Apr 21, 2011
Location: Modesto
Stream Posts: 5

A common pattern in Django web applications is to pass long-running tasks off to a task queue. Celery is a popular distributed task queue with good Django integration.

In this tutorial I demonstrate how to configure Celery for development and how to create and run simple distributed tasks from Django views.

Comments

Posted on Oct 22, 2013
Photo Cem Yıldız
Aktif Ileti
Member since Oct 22, 2013
It is maybe because of version different but in tasks.py "from celery import task" works but not "from celery.decorators import task" on my computer.