Asynchronous tasks with Django and Celery

Asynchronous tasks with Django and Celery

Photo Simeon Franklin
Marakana, Inc.
Member since Apr 21, 2011
Stream Posts: 5
Posted on Apr 26, 2012 (3 years ago)
Seen 2074 times.
Tagged As:

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

You have to login to post a comment.
Posted on Oct 22, 2013 (2 years ago)
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.