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
6 months ago
29
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...
-
2:11:11
BlackDiamondGunsandGear
6 hours ago🔴Gear Know How / HPA/ & DLD AFTER DARK
13.3K6 -
2:11:11
DLDAfterDark
5 hours ago $30.73 earnedDLD Live! Gun Talk - Welcome To The Armory - Feat. BDG&G
65K3 -
47:14
The Connect: With Johnny Mitchell
16 hours ago $5.52 earnedMeet The Cartel Hunters At WAR With New Zeta Drug Cartel- Mexico's Most Violent Criminal Empire
51K5 -
38:10
Stephen Gardner
2 days agoI can't BELIEVE Trump DID THIS! Jill Biden ACCUSED of MAJOR CRIME!
62.5K95 -
14:50
Russell Brand
13 hours agoJoe Rogan Goes Into SHOCK As Guest Exposes Government MIND CONTROL
73.7K94 -
31:59
The Brett Cooper Show
12 days ago $13.41 earnedBernie Fights Oligarchy From His Private Jet & Prince Harry’s Biggest L Yet | Episode 30
56.7K31 -
20:23
Exploring With Nug
16 hours ago $9.43 earnedI Found Something DISTURBING Thrown Off The Bridge!
220K10 -
26:24
MYLUNCHBREAK CHANNEL PAGE
1 day agoMilitary Sites STOLE the Old World - Pt 1
167K75 -
4:15:08
MissesMaam
8 hours agoRumblers Actin' Sus | Lockdown Protocol 💚✨
41.4K3 -
4:09:19
GamerGril
11 hours ago☠Doom Gal☠| The Ages Aren't Dark Enough
87.4K18