Premium Only Content
This video is only available to Rumble Premium subscribers. Subscribe to
enjoy exclusive content and ad-free viewing.

Asynchronous Tasks: Celery is Not Just For Soups Anymore
11 months ago
30
Technology
Tech Reviews
django
celery
redis
django celery redis
async
asynchronous tasks
tasks
web developer
backend development
Run asynchronous tasks with Django, using Django & Celery.
You can use background tasks for things like image processing, text processing, external API calls, and more.
example/celery.py:
import os
from celery import Celery
from django.conf import settings
from celery import shared_task
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'example.settings')
app = Celery('example')
app.config_from_object('django.conf:settings', namespace='CELERY')
@shared_task
def my_task(arg1, arg2):
result = arg1 + arg2
return result
example/__init__.py:
from .celery import app as celery_app
__all__ = ["celery_app"]
Looking for help building your site? Need web hosting? Come check us out!
Loading 1 comment...
-
DVR
FreshandFit
8 hours agoCrypto Bros Return!
10.1K3 -
23:51
Stephen Gardner
1 hour ago🚨Trump did the UNTHINKABLE!
7.2K20 -
Barry Cunningham
4 hours agoBREAKING NEWS: PRESIDENT TRUMP SAYS HE MAY INVOKE THE INSURRECTION ACT! AND NOW WE KNOW WHY!
15.3K9 -
40:13
Clownfish TV
10 hours agoMagic the Gathering Champion BANNED from Tournament Over MAGA Hat?! | Clownfish TV
2.33K17 -
2:49:47
TimcastIRL
3 hours agoTrump Considers Invoking INSURRECTION ACT To Deploy National Guard to Portland | Timcast IRL
134K65 -
10:05:38
Dr Disrespect
11 hours ago🔴LIVE - DR DISRESPECT - BLACK OPS 7 - GIVE ME BACK MY NUKE
121K12 -
LIVE
Drew Hernandez
1 hour agoTARGETED LEFTIST TERRORIST ATTACK IN CHICAGO & ISRAEL GEOFENCING U.S. MEGA CHURCHES
862 watching -
8:58
Degenerate Jay
12 hours agoXbox Game Pass Is Getting Ridiculous
2.19K -
7:03
GBGunsRumble
1 day agoGBGuns Range Report 05OCT25
1.43K1 -
1:32:30
Glenn Greenwald
8 hours agoWill the War in Gaza Finally End? Flotilla Activists Predictably Abused in Israel's Dungeons; Van Jones' Revealing Joke about "Dead Gazan Babies" | SYSTEM UPDATE #527
84.6K63