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...
-
LIVE
Barry Cunningham
2 hours agoTRUMP DAILY BRIEFING: MORE EXECUTIVE ORDERS AND A LOT MORE NEWS!
1,833 watching -
LIVE
Jeff Ahern
36 minutes agoFriday Freak out with Jeff Ahern
494 watching -
LIVE
Crypto Power Hour
2 hours agoSelf-Custody vs. Centralized Crypto Cards — Freedom or Convenience
28 watching -
17:14
Breaking Points
1 day agoTrump Admin CAUGHT Faking Gang Invasion
16.8K43 -
2:10:20
Tim Pool
4 hours agoGovernment EXPOSURE Of Non-Human Entities and UFO Disclosure | The Culture War with Tim Pool
190K80 -
1:02:02
Sean Unpaved
2 hours agoNBA Game 2 Rumble, NCAA Reseeding Breakdown, & Hollywood's Wild Parents
18.6K -
LIVE
The Boomer Effect
17 hours agoTrump takes on Deepfake Porn / AI Is Going To Change Everything
68 watching -
1:43:06
Steven Crowder
6 hours agoHow China Broke America Without Firing a Shot: Ft. The China Show-China Uncensored-China Insider
172K100 -
1:02:27
The Big Migâ„¢
2 hours agoGlobal Finance Forum From Bullion To Borders We Cover It All
18.1K5 -
19:49
Neil McCoy-Ward
2 hours ago🔥 JUST Happened Hours Ago! All Hell About To Break Loose Between the US & EU! 🇺🇸🇪🇺
16.7K18