Skip to content

This is a simple example about how to create a progress bar in Django with Celery.

Notifications You must be signed in to change notification settings

sunshineatnoon/Django-Celery-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django-Celery-Example

This is a simple example about integrating Celery in Django website, it uses celery to run a long task and shows a progress bar about the progress of the task.

image image image

Dependecies

  • Celery 3.1.19
  • Django 1.9
  • RabbitMQ 3.5.6

How to run:

  git clone https://github.com/sunshineatnoon/Django-Celery-Example.git
  cd Django-Celery-Example
  /usr/local/sbin/rabbitmq-server
  celery -A celery_try worker -l info
  python manage.py makemigrations
  python manage.py migrate
  python manage.py runserver

Then visit http://127.0.0.1:8000/index/.

Technical Details:

See my blog post.

Known Issue:

Works well on firefox and chrome, but doesn't work on safari.

About

This is a simple example about how to create a progress bar in Django with Celery.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published