Learn Django Celery - Sending Emails with Django and Celery - Part-2

  Рет қаралды 33,535

Very Academy

Very Academy

Күн бұрын

Пікірлер: 40
@АндрейЧеремисин-щ7к
@АндрейЧеремисин-щ7к 3 жыл бұрын
Спасибо больше за видео, начав изучать celery столкнулся с тем, что почему то не по одному туториалу у меня не получалось сделать рабочую программу, но благодаря вам я наконец с этим справился!!!!
@ricardofelixmonteironeto9624
@ricardofelixmonteironeto9624 10 ай бұрын
Thanks a lot, you helped me to save lot of time! Nice explanation and excellent examples!
@veryacademy
@veryacademy 10 ай бұрын
Glad to hear that!
3 жыл бұрын
Thank you. This is exactly what I needed. Precise and simple
@goodlearner2379
@goodlearner2379 4 жыл бұрын
Another brilliant tutorial...thank you so much 😊
@veryacademy
@veryacademy 4 жыл бұрын
You’re welcome 😊
@umeshpandey5226
@umeshpandey5226 Жыл бұрын
Thank you for making such a awesome video for celery.....Love you Sir👍👍👍
@veryacademy
@veryacademy Жыл бұрын
Most welcome 😊 I am building a celery course which will be in the channel soon. It’s the next course I am work on currently.
@alexandergarzo9415
@alexandergarzo9415 2 жыл бұрын
Great video!
@veryacademy
@veryacademy 2 жыл бұрын
Thanks!
@user1491
@user1491 Жыл бұрын
Hello, I think, "from celery.decorators import task" an so the decorator "@task" doesn´t exists at the moment. Is there an alternativ decorator? Greetings ...
@MariusOdobasa
@MariusOdobasa Жыл бұрын
Hey! You should change this: from celery import shared_task .... @shared_task(name="send_review_email_task") def send_review_email_task(name, email, review): .....
@user1491
@user1491 Жыл бұрын
@@MariusOdobasa Ok, thanks. I tried that, but the app does not send emails. Then I have to look again where the error lies ;-).
@user1491
@user1491 Жыл бұрын
When i try to send an Email the worker raises an error : ERROR/MainProcess] Task send_review_email_task[4d4302ee-944f-490f-afb8-239b09f725db] raised unexpected: TemplateSyntaxError("Invalid filter: 'save'") But ... there is no filter 'save' in the code ...
@samirThapaSRT
@samirThapaSRT 4 жыл бұрын
You will brow up some day keep making the django content lots of love😊😇
@veryacademy
@veryacademy 4 жыл бұрын
Thanks, its all fun - numbers are good but, as long as it is useful content, everything is good 👍
@ponnethajmal5751
@ponnethajmal5751 3 жыл бұрын
great!
@elyasnaimzada3919
@elyasnaimzada3919 4 жыл бұрын
great work it helped me alot
@veryacademy
@veryacademy 4 жыл бұрын
Glad it helped! 👍
@karakson
@karakson Жыл бұрын
Thank you! I would have a few questions. How did you find out that you have to structure your project like that? How do you find what modules must be imported to solve this problem? I know, it's Google, but these frameworks are rather large for me, and I hate to keep in mind so much functionality. Basically, I cannot see, how can I work with e.g. Celery without copying others code. I just want to learn to use the documentation but I don't know what's the most efficient way of that.
@valett5229
@valett5229 9 ай бұрын
This structure is made for showing different functionality in different videos.
@karakson
@karakson 9 ай бұрын
​@@valett5229 Sound reasonable, thank you! Since this comment I played around a bit with celery (without Django since for my tasks I don't need that). I realized that it does not support Windows officially but some parts of it work just fine. Also, I could not define specific task queues (other than default) for multiple workers. I could not find out where am I wrong. (I think it must be related to Windows, since it worked for Celery beats.)
@valett5229
@valett5229 9 ай бұрын
using a function and only after defining it is quite confusing, e.g. 6:11
@veryacademy
@veryacademy 9 ай бұрын
noted thank you
@lucastavares4908
@lucastavares4908 4 жыл бұрын
Super cool, can you implements Multithreading or something like that to speed up?
@veryacademy
@veryacademy 4 жыл бұрын
Have a look at the --pool option. You can choose between processes or threads, using the --pool command line argument.
@budi0580
@budi0580 4 жыл бұрын
Thanks for an awesome video bro. I am very new to celery. I just wondering in prod, do we need cluster of celery ? 🙏
@veryacademy
@veryacademy 4 жыл бұрын
Need is difficult to say - every project has different needs. If you are new to celery - don't worry about production yet, just learn the basics first then bam your answer your own question 😁
@budi0580
@budi0580 4 жыл бұрын
@@veryacademy I am planning to implement this in my work. So i need worry about prod. Anw, If I have two celery workers (in different server) that connet to the same rabbit/redis cluster. Can we distribute workload among the worker ? I know that rabbit's consumer by default can do that (round robin). I guest that behind the scene, the celery actually create rabbit/redis consumer/subscriber, am I right ? 🙏
@gustavoarias388
@gustavoarias388 2 жыл бұрын
Thank you very much for the video, it helped me to build my email and task. Now, I was wondering how I could schedule a daily email at 9am in Windows. I was struggling with this for a couple of days and couldn't find how to do it. I would be glad if you can help me :)
@denmarkgarcia5153
@denmarkgarcia5153 3 жыл бұрын
Hi, when I'm sending email I receive 3 tasks, and also recieve 3 email I don't know want went wrong
@yusupovjasur
@yusupovjasur 2 жыл бұрын
Thank you for the tutorial. However it didn't worked for me in TSL, then I changed to SSL, and it started working
@dgiri2333
@dgiri2333 2 жыл бұрын
All Tasks you assigned to Same Django Project only how to handover to other django server port do handle task ...
@buzznep2315
@buzznep2315 3 жыл бұрын
Here is the scenario: A user schedules email at two different dates , how do I make the worker for that to send email ?
@punithpuni927
@punithpuni927 3 жыл бұрын
where is the first part
@abdullahatif7854
@abdullahatif7854 Жыл бұрын
Yes, I understand your question (problem) at the start that you wan to send an email at the form submission through celery. But now, I must say that you are over complicating the code for most beginners. There were also many direct methods to achieve this.
@telecommunity2181
@telecommunity2181 Жыл бұрын
sigh. This didn't teach me shit about how to actually write tasks with celery
Learn Django Celery - Intro to scheduling Tasks - Part 3
15:49
Very Academy
Рет қаралды 32 М.
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
Django Contact Form | How To Send Email Using Django? | Tutorial 2022
17:31
Sending Emails in Django With Celery
23:20
Pretty Printed
Рет қаралды 78 М.
Docker - Django, Celery & Redis Docker Compose setup
20:30
Very Academy
Рет қаралды 45 М.
Learn Django - Class-Based Permission Checks
27:09
Very Academy
Рет қаралды 26 М.
Learn Django - Build an Asynchronous Chatroom with Django and Channels
1:31:27
Integrating Celery in Django
1:15:53
Cloud With Django
Рет қаралды 11 М.
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН