Django Celery, Celery Beat, Redis | Base Setup | Everything about using celery with Django
HTML-код
- Опубликовано: 5 фев 2025
- 🎥 In this VIDEO of this series, we will be covering...👇
✅ Integrating Celery with Django ( Complete Celery Tutorial )
✅ Using Django Celery Results for showcasing the status of a task in Django Admin Interface
✅ Celery Beat set up for Periodic Tasks and to schedule tasks in Django
✅ Installing Redis to serve the purpose of a broker
✅ Creating a perfect base setup for celery, django celery beat, django celery results in a django project
🚀 This series is specifically created to cover everything about celery. Celery is very important and you must know how to use it effectively to create robust applications in order to get a high-income job or become a successful freelancer.
👉 This series is not just going to be another simple Django celery integration Tutorial. In this series, we will try to understand each and every concept from the depth and apply it practically.
How this series will help you 🎉-
1️⃣ Using Celery effectively to build robust applications
2️⃣ How to build Logic while development
3️⃣ How to scale large applications
4️⃣ Different use cases of celery
5️⃣ In-depth knowledge of celery features and how celery actually works
👉 Ask your queries in the comment section box
Links -
💻 Discord: / discord
📸 Instagram: / priyanshu._gupta
✈ Telegram: t.me/priyanshu...
If you like the video do give it a thumbs up 👍 and share it with your friends and share your valuable feedback in the comment section
👉 Do subscribe to my channel "Priyanshu Gupta" for more skill development and point to point videos
🔴 Link for Second Part (Most Important Video) - • Django Celery Advanced...
🤷♂️ Have more queries?
Ping me on Instagram - / priyanshu._gupta
🤑 The Ultimate Revolutionary Course - • The Revolutionary Course
✨Keywords
Celery
Django Celery
Django Celery Beat
Django Celery Results
Django Celery Periodic Tasks
Redis
Rabbitmq
#celery #django
Indians, what will we do without you guys. Appreciate it
🔥 ohhoo bhaiya saahab (Perfect explanation)🔥
Thank You
I must say this playlist os worth way much more. You are really doing a great job. Thank you for sharing your knowledge ❤
Glad you think so!
👉 In case anyone wants to connect with me 1:1, feel free to schedule it on my calendar - topmate.io/priyanshugupta
Don't forget to like 👍 the video and subscribe 🔴 to my channel if you really want to level up your skills to have an edge over others.
Need each and every concept of Django by you ❤❤❤ will wait for more advanced videos of django
Great brother!
`This channel is underrated, he deserves more subscribers`
Thanks brother. Keep supporting!
Thank you very much brother ! i'm a French student that studied for 6 months at IIMA in Gujarat, and i loved how dedicated to work indian people can be. I wont forget you if the app i'm making makes me rich ahahahah
It's my pleasure! Wish you luck bro:)
It's my pleasure! Wish you luck bro:)
Excellent Tutorial
Loudest applause to you for this amazing tutorial!
Thanks
Hellow -----
My self Abdullah from bangladesh .
I Watch your video regularly and now i complete django playlist.
i learn everything from your youtube ---
thank you ---
I have a request to you that please make a video how to use django custom admin panel instead django default admin templare....
please
please
please --------- i wait for your notification
it's cool:) good luck, bro!
Thanks bro I figured out I have to use to command for worker and beat to work it out
Trust me you are a life saver bro
Thanks bro
Thank you so much Priyanshu .Just like how you have helped me today, You have helped thousands by sharing your knowledge. May God bless you. Wishing you all the best on your future Endeavors.
~Fellow VIT student
Thank you
very clear instructions and explanation, so helpful, thank you
This video is so clear and so helpful. Thank you man! Liked and subbed!
Thank you brother 🤙🤙
as usual, great video! thanks from Brazil!
Glad to hear that 🤞
Thank you for this really useful tutorial and the explanation along the way, really helped out!
Glad you liked it
Thanks from brazil.
Thank you brother. It helped me alot cheers👍
works!!!! thank you
greetings from Czechia, thx friend
Great video Priyanshu! Awesome detailed explanation. Liked and subscribed :)
In admin interface, in task results, I don't get the Task Name, Task worker, Task positional arguments and Task named arguments as shown in video at 24:20. Why data for these fields not showing on my page. Can you please help me with this?
It is in English ❤️ ,thank you bro really useful 🔥🔥🔥
thank you very much! excellent explanation!
Thanks 🤞
Thank you a ton...
This was very helpful, thank you!!
Please do tutorial on how to use Django rest framework with Django channels pls
Excellent explanation 👏👏
Thanks 😊
life saver
Awesome brother. Thanks a lot for understanding our concern regarding the explanation.A perfect video. keep it up. May Allah bless you with a long and happy life. Aamin
Thank you so much for your blessings.
Hi Priyanshu, thank you for the step wise and detailed video. Although I followed the video step by step, but when I check the celery worker logs, I am not getting the response as you are getting, I am getting "DONE" in my browser, but celery is not working :( I opened the redis cli and typed ping, got pong. (I am using windows)
Check if celery beat is working or not if you are scheduling the tasks.
periodic task name,task name and worker name to storing in django db. any idea?
Thanks!!
how did you install redis without wsl ?
Greate brother. It was perfectly worked in my local machine. But how can I integrate the whole process in AWS EC2 product server for real-time application?
hey i have the same doubt, were you able to figure this out.
Tnks but can you also deploy using AWS EC2 Django instance for the celery beat redis?
I have shared the resources regarding this on telegram channel and discord
got error test_func() takes 1 positional argument but 2 were given please help
Can you also update a tutorial about how to do it with gunicorn or docker and stuff
You can check this blog: www.priyanshuofcl.com/blogs/dockerizing_django
Was searching about how to perform background tasks in django and found this nice video 👏.
Glad you liked it
awsome video but why if i run "celery -A project_example_rest.celery worker --pool=prefork -l info" for execute multiple task in the same moment visiting the same url at the same time the pages continue to load in loop?
Which page you are talking about?
@@PriyanshuGuptaOfficial if you have time and you want we can talk on your discord server about this thing, would be fantastic, thank you
hi sir i am getting the error like [WinError 10061] No connection could be made because the target machine actively refused it
Can you make a video with docker docker compose and celery with redis
I have recently made a blog regarding this: priyanshuofcl.com/blogs/dockerizing_django
Why we use debug task ..... Also what is the difference between task and shared task
top notch 10 out 10! thank you!
Glad you liked it
Hi Priyanshu, can we use celery to automatically click on hyperlinks on home page of portal made in django
thank you so much bro
Always welcome:)
Thank you
hi bro
i have some doubt in the django admin page once i start running the task, it was not showing the task name , worker name in the ui task_result
Ensure you have included all apps in INSTALLED_APPS
Great tutorials, it will be great if you can create a project with Django multi tenant with celery.
09:00 Where he explained use of celery
What if one want to migrate form the djcelery used by celery version 3.x to latest celery version 5.x
What will be the taskmeta equivalent in celery version ?
Brother
Request to you that please make a video how to use django custom admin panel instead django default admin templare....
16:44 - redis install
Timezone still in UTC 🤔
Excellent biyaaa thodi hindi mix Kerr diyaa kero 🙌 please
I am making in complete english so that I can help more and more people who want this type of content.
Okay
Hey bro , i got this error :
AttributeError: module 'collections' has no attribute 'MutableMapping'
Version issue ig
we need a github repo for this, it's hard to follow along
instead on installing redis on windows can we simply install django-redis library
django-redis is just the wrapper to interact with redis.
Can you also do a video on how to integrate with Amazon SQS? in production?
How redis will work when our project will go live
You can run redis on your virtual machine similarly you run it on your local machine or run redis using docker or directly use redis service provided by cloud server
can you arrange the celery related videos in ascending order
What to add in celery backend if we are using xampp server/database
No changes required
i got an error Error: Invalid value for '-A' / '--app':
Unable to load celery application.
Module 'django_celery_project' has no attribute 'celery'
Have you imported celery into your project?
please is there a link to the code
blud done everything but tellin us how to install redis
👉 Redis download on windows - github.com/tporadowski/redis/releases (download version greater than 5.0)
👉 Redis download on Linux - redis.io/download
👉 Redis download on mac - phoenixnap.com/kb/install-redis-on-mac
online redis - app.redislabs.com/
bro you are hero bro?
its industrial problem
Can you please share your source code on github?
Where's the github link bro?
5:10
github link?
github.com/priyanshu2015/celery-with-django
@@PriyanshuGuptaOfficial thank you.
@@PriyanshuGuptaOfficial bhai yaar tu dude hai... Delhi me ayega toh bolna, ghar chota hai, par dil bada hai.
@@pushkardey bilkul bhai
Your way is off there are many things which can be written easily but you have made it complex.
bro atleast give some explanation ..not just write code and show output
First time I got the comment like this. Please check other videos in this playlist, you will get a lot of in depth explanation.
bullshit...dekh dekh k likh dia bs video
at 14:18 :: print(f'Request: {self.request!r}') --> what it means by !r ??
please help , give error in windows 10
consumer: Cannot connect to amqp://guest:**@127.0.0.1:5672//: [WinError 10061] No connection could be made because the target machine actively refused it.
Check if your rabbitmq server is running or not, it this don't work then try to uninstall and reinstall it
@@rajeshmanglani5168 thanks
@@chintanbhadani7183 Welcome
I am getting this error while doing migrate and tried to solve but I couldn't solve this problem please help me out. Thanks in advance
#PriyanshuGupta
django.db.utils.OperationalError: error in index django_celery_results_taskresult_hidden_cd77412f after drop column: no such column: hidden
hi sir i am getting the error like [WinError 10061] No connection could be made because the target machine actively refused it
Thank you
i got an error Error: Invalid value for '-A' / '--app':
Unable to load celery application.
Module 'django_celery_project' has no attribute 'celery
same error, have you found the solution