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

Комментарии • 128

  • @shuaibuabdullahi6327
    @shuaibuabdullahi6327 Год назад +21

    Indians, what will we do without you guys. Appreciate it

  • @mohitrathore8808
    @mohitrathore8808 3 года назад +8

    🔥 ohhoo bhaiya saahab (Perfect explanation)🔥

  • @CodewithAbhi03
    @CodewithAbhi03 10 месяцев назад

    I must say this playlist os worth way much more. You are really doing a great job. Thank you for sharing your knowledge ❤

  • @PriyanshuGuptaOfficial
    @PriyanshuGuptaOfficial  3 года назад +4

    👉 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.

  • @ZhCrypto
    @ZhCrypto Год назад +3

    Need each and every concept of Django by you ❤❤❤ will wait for more advanced videos of django

  • @abdullahalnayem1849
    @abdullahalnayem1849 3 года назад +4

    Great brother!
    `This channel is underrated, he deserves more subscribers`

  • @BeastKingist
    @BeastKingist 11 месяцев назад

    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

  • @kartiksetia5120
    @kartiksetia5120 2 месяца назад +1

    Excellent Tutorial

  • @rawmetal3052
    @rawmetal3052 3 года назад +5

    Loudest applause to you for this amazing tutorial!

  • @abdullahamin4504
    @abdullahamin4504 2 года назад +4

    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

  • @ВладиславФадеев-е7е

    it's cool:) good luck, bro!

  • @AbhishekVerma-fe3wo
    @AbhishekVerma-fe3wo 3 года назад +2

    Thanks bro I figured out I have to use to command for worker and beat to work it out

  • @Nisarggurjar
    @Nisarggurjar 3 года назад +2

    Trust me you are a life saver bro

  • @gamerwolf5242
    @gamerwolf5242 2 года назад +4

    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

  • @karkatxix8188
    @karkatxix8188 8 месяцев назад +1

    very clear instructions and explanation, so helpful, thank you

  • @MVGaming77
    @MVGaming77 Год назад +2

    This video is so clear and so helpful. Thank you man! Liked and subbed!

  • @Ali-pl8hq
    @Ali-pl8hq 2 года назад +2

    Thank you brother 🤙🤙

  • @potthegreen
    @potthegreen 2 года назад +2

    as usual, great video! thanks from Brazil!

  • @davon_rolage
    @davon_rolage Год назад +1

    Thank you for this really useful tutorial and the explanation along the way, really helped out!

  • @ProSimples
    @ProSimples 2 года назад +2

    Thanks from brazil.

  • @shubhamgupta7730
    @shubhamgupta7730 3 года назад +2

    Thank you brother. It helped me alot cheers👍

  • @mistermiaumiau2134
    @mistermiaumiau2134 Год назад +1

    works!!!! thank you

  • @ErolEslaf
    @ErolEslaf Год назад +1

    greetings from Czechia, thx friend

  • @alx913
    @alx913 2 года назад +2

    Great video Priyanshu! Awesome detailed explanation. Liked and subscribed :)

  • @jasmeetpabla378
    @jasmeetpabla378 2 года назад +2

    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?

  • @nquanta1548
    @nquanta1548 3 года назад +1

    It is in English ❤️ ,thank you bro really useful 🔥🔥🔥

  • @edust83
    @edust83 3 года назад +2

    thank you very much! excellent explanation!

  • @ermtly
    @ermtly Год назад +1

    Thank you a ton...

  • @ishasangani1909
    @ishasangani1909 3 года назад +2

    This was very helpful, thank you!!

  • @_astroprogramming
    @_astroprogramming Год назад +1

    Please do tutorial on how to use Django rest framework with Django channels pls

  • @avishisainii
    @avishisainii 3 года назад +3

    Excellent explanation 👏👏

  • @SiddhantChaudhary11
    @SiddhantChaudhary11 6 месяцев назад +1

    life saver

  • @nehat786
    @nehat786 3 года назад +2

    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

  • @noscopedemon4308
    @noscopedemon4308 9 месяцев назад

    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)

    • @PriyanshuGuptaOfficial
      @PriyanshuGuptaOfficial  9 месяцев назад

      Check if celery beat is working or not if you are scheduling the tasks.

  • @mukeshbarnwal2705
    @mukeshbarnwal2705 Год назад

    periodic task name,task name and worker name to storing in django db. any idea?

  • @siddharthsrivastava4491
    @siddharthsrivastava4491 Год назад +1

    Thanks!!

  • @maskedtech1
    @maskedtech1 Месяц назад

    how did you install redis without wsl ?

  • @MamunKhan-oq9tu
    @MamunKhan-oq9tu 3 года назад +2

    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?

    • @nikhitagarg7150
      @nikhitagarg7150 2 года назад

      hey i have the same doubt, were you able to figure this out.

  • @jondebosco7478
    @jondebosco7478 11 месяцев назад

    Tnks but can you also deploy using AWS EC2 Django instance for the celery beat redis?

    • @PriyanshuGuptaOfficial
      @PriyanshuGuptaOfficial  9 месяцев назад

      I have shared the resources regarding this on telegram channel and discord

  • @maniksharma487
    @maniksharma487 2 года назад +1

    got error test_func() takes 1 positional argument but 2 were given please help

  • @kartiksetia5120
    @kartiksetia5120 2 месяца назад

    Can you also update a tutorial about how to do it with gunicorn or docker and stuff

  • @vallabhtiwari
    @vallabhtiwari Год назад +2

    Was searching about how to perform background tasks in django and found this nice video 👏.

  • @lukasyt3490
    @lukasyt3490 7 месяцев назад

    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?

    • @PriyanshuGuptaOfficial
      @PriyanshuGuptaOfficial  7 месяцев назад +1

      Which page you are talking about?

    • @lukasyt3490
      @lukasyt3490 7 месяцев назад

      @@PriyanshuGuptaOfficial if you have time and you want we can talk on your discord server about this thing, would be fantastic, thank you

  • @MOHAMMADSAIFUDDIN-py7df
    @MOHAMMADSAIFUDDIN-py7df 2 года назад +1

    hi sir i am getting the error like [WinError 10061] No connection could be made because the target machine actively refused it

  • @GAntony-dv2bz
    @GAntony-dv2bz 8 месяцев назад

    Can you make a video with docker docker compose and celery with redis

    • @PriyanshuGuptaOfficial
      @PriyanshuGuptaOfficial  5 месяцев назад

      I have recently made a blog regarding this: priyanshuofcl.com/blogs/dockerizing_django

  • @ssgames1932
    @ssgames1932 2 года назад

    Why we use debug task ..... Also what is the difference between task and shared task

  • @jessicaryan9820
    @jessicaryan9820 3 года назад +3

    top notch 10 out 10! thank you!

  • @pritishmahalle9052
    @pritishmahalle9052 Год назад

    Hi Priyanshu, can we use celery to automatically click on hyperlinks on home page of portal made in django

  • @cristiancamilosanchezardil9730
    @cristiancamilosanchezardil9730 11 месяцев назад

    thank you so much bro

  • @reactjsmedia6406
    @reactjsmedia6406 3 года назад +2

    Thank you

  • @RoshanPriyan-b9o
    @RoshanPriyan-b9o 2 месяца назад

    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

  • @itgurukul
    @itgurukul 2 года назад +2

    Great tutorials, it will be great if you can create a project with Django multi tenant with celery.

  • @SHUBHAMTIWARI-ut3ji
    @SHUBHAMTIWARI-ut3ji 11 месяцев назад

    09:00 Where he explained use of celery

  • @ms789g
    @ms789g 3 года назад +1

    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 ?

  • @abdullahamin4504
    @abdullahamin4504 2 года назад

    Brother
    Request to you that please make a video how to use django custom admin panel instead django default admin templare....

  • @bishalchoudhary3226
    @bishalchoudhary3226 10 месяцев назад

    16:44 - redis install

  • @MrJeeveshGarg-YearBTechCivilEn
    @MrJeeveshGarg-YearBTechCivilEn 3 года назад +1

    Timezone still in UTC 🤔

  • @sitaram_thoughts
    @sitaram_thoughts 3 года назад +3

    Excellent biyaaa thodi hindi mix Kerr diyaa kero 🙌 please

    • @PriyanshuGuptaOfficial
      @PriyanshuGuptaOfficial  3 года назад +4

      I am making in complete english so that I can help more and more people who want this type of content.

    • @ytg6663
      @ytg6663 3 года назад

      Okay

  • @MindsetMotivation75
    @MindsetMotivation75 2 года назад +1

    Hey bro , i got this error :
    AttributeError: module 'collections' has no attribute 'MutableMapping'

    • @Kio5581
      @Kio5581 2 года назад

      Version issue ig

  • @didoma73
    @didoma73 2 года назад +1

    we need a github repo for this, it's hard to follow along

  • @nikhitagarg7150
    @nikhitagarg7150 2 года назад

    instead on installing redis on windows can we simply install django-redis library

  • @doofenshmirtz3222
    @doofenshmirtz3222 3 года назад

    Can you also do a video on how to integrate with Amazon SQS? in production?

  • @Kedarbhokare
    @Kedarbhokare Год назад

    How redis will work when our project will go live

    • @PriyanshuGuptaOfficial
      @PriyanshuGuptaOfficial  Год назад

      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

  • @jayachandraB
    @jayachandraB 3 года назад

    can you arrange the celery related videos in ascending order

  • @davidjonson303
    @davidjonson303 3 года назад

    What to add in celery backend if we are using xampp server/database

  • @abhishekn2048
    @abhishekn2048 3 года назад

    i got an error Error: Invalid value for '-A' / '--app':
    Unable to load celery application.
    Module 'django_celery_project' has no attribute 'celery'

    • @definty
      @definty 3 года назад

      Have you imported celery into your project?

  • @bizorfinance2532
    @bizorfinance2532 2 года назад

    please is there a link to the code

  • @justaman8055
    @justaman8055 4 месяца назад +1

    blud done everything but tellin us how to install redis

    • @PriyanshuGuptaOfficial
      @PriyanshuGuptaOfficial  4 месяца назад

      👉 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/

  • @nabinchaudhary73
    @nabinchaudhary73 3 года назад +2

    bro you are hero bro?

  • @SarathChandrareddy-c6o
    @SarathChandrareddy-c6o Год назад +2

    its industrial problem

  • @taihatranduc8613
    @taihatranduc8613 2 года назад +1

    Can you please share your source code on github?

  • @piyushkumar2900
    @piyushkumar2900 2 года назад +1

    Where's the github link bro?

  • @bishalchoudhary3226
    @bishalchoudhary3226 10 месяцев назад

    5:10

  • @KrishnaManohar8021
    @KrishnaManohar8021 3 года назад +2

    github link?

  • @pandeyamit8777
    @pandeyamit8777 Год назад

    Your way is off there are many things which can be written easily but you have made it complex.

  • @NitinSwami-kt5vj
    @NitinSwami-kt5vj Год назад

    bro atleast give some explanation ..not just write code and show output

    • @PriyanshuGuptaOfficial
      @PriyanshuGuptaOfficial  Год назад

      First time I got the comment like this. Please check other videos in this playlist, you will get a lot of in depth explanation.

  • @AnkitKumar-l2x9i
    @AnkitKumar-l2x9i 5 месяцев назад

    bullshit...dekh dekh k likh dia bs video

  • @KrishnaManohar8021
    @KrishnaManohar8021 3 года назад +2

    at 14:18 :: print(f'Request: {self.request!r}') --> what it means by !r ??

  • @chintanbhadani7183
    @chintanbhadani7183 3 года назад

    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.

    • @rajeshmanglani5168
      @rajeshmanglani5168 3 года назад

      Check if your rabbitmq server is running or not, it this don't work then try to uninstall and reinstall it

    • @chintanbhadani7183
      @chintanbhadani7183 3 года назад

      @@rajeshmanglani5168 thanks

    • @rajeshmanglani5168
      @rajeshmanglani5168 3 года назад

      @@chintanbhadani7183 Welcome

  • @jayshankarsharma1941
    @jayshankarsharma1941 2 года назад

    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

  • @KaushikanD-uv8uf
    @KaushikanD-uv8uf Год назад +2

    hi sir i am getting the error like [WinError 10061] No connection could be made because the target machine actively refused it

  • @jairajsahgal7101
    @jairajsahgal7101 Год назад +1

    Thank you

  • @SahilNainani
    @SahilNainani 3 года назад +1

    i got an error Error: Invalid value for '-A' / '--app':
    Unable to load celery application.
    Module 'django_celery_project' has no attribute 'celery

    • @advaiti
      @advaiti 2 года назад

      same error, have you found the solution