Asynchronous Tasks with Django and Celery
Configure Celery to handle long-running tasks in a Django app.
Read TutorialWith Celery, you can schedule tasks that run outside the HTTP request/response flow, ensuring that your users are never slowed down by work like:
Working with Django and Celery provides a roadmap you can follow to get the most out of Celery in your Django project.
The best part? The guide is completely free.
This guide is an excellent starting point for using Celery with Django. The detailed walkthroughs, coupled with exhaustive code samples, will cover the common use cases you may encounter. You will learn how to test your code, identify and fix issues, and containerize Celery with Docker.
You don't have to learn everything all at once. The guide is meant to be read over a longer period as you write more and more code.
Configure Celery to handle long-running tasks in a Django app.
Read TutorialManage periodic tasks with Django, Celery, and Docker.
Read TutorialAutomatically retry failed Celery tasks.
Read TutorialMake Celery work well with Django Database Transactions.
Read TutorialOur course on adding Celery to a Django application builds on the best practices learned in this guide.
Authored by Software Engineer Michael Yin, this course covers how to:
Learn how to add Celery to a Django application to provide asynchronous task processing.
Join our mailing list to be notified about updates and new releases.