Integarting Celery with Django to asynchronous tasks
๐
Integrating
๐
Celery with Django via Redis server ,To-Do asynchronously
๐
task without stopping the main-flow
๐
of Django-project . It increase your speed
๐
and user experience
๐คต
of website . This repo explain how to setup Celery,and integrate it with the Django-Framework.
Note : Steps to steup Celery on production-side is different
Celery package help us to asynchronous tasks on different worker
๐ฅ๏ธ
,That is on Redis server. The Celery also have some great features in scheduling
๐
task after a certain period of time. The tasks are excuted on different server (Redis server), and are not run on Django-Server.If we run long and complicated tasks on django server it will reduced the efficiency of website
Modern users expect pages to load instantaneously
โก
, to solve this we consider many solutions like multiprocessing, multithreading
๐งต
, asynchronous functions using async/await or the Message Queues.
Installation/Dependencies
Use the package manager pip to install the following modules and packages.
pip install Django
pip install celery
pip install redis
Owner
Rushi Patel
Python ๐ and C++ developer | Competitive Programmer | Experienced in Full-stack development๐| Love โค๏ธ to automate things | ๐ Currently learning JavaScript โ
django-floppyforms Full control of form rendering in the templates. Authors: Gregor Mรผllegger and many many contributors Original creator: Bruno Reniรฉ
Django datatables and widgets, both AJAX and traditional. Display-only ModelForms. ModelForms / inline formsets with AJAX submit and validation. Works with Django templates.