Learn the Basics of Django Signals

  Рет қаралды 50,756

Matt Freire

Matt Freire

Күн бұрын

Пікірлер: 77
@continental_drift
@continental_drift 4 жыл бұрын
Clear and concise. So many Django tutorials add fluff and muddy the waters when describing what to do when using Django. Arthur C. Clarke: "Any sufficiently advanced technology is indistinguishable from magic." This is simple and to the point, thanks.
@Gonfalon88
@Gonfalon88 4 жыл бұрын
My god I had been searching on how to send an update to slack when someone posts a message. I put an api call under the model's class and could not figure out how to only make it call when the model was saved. It was actually making api calls every time I ran manage.py migrate lol. After two days of messing around in my code, placing the api call in defs and out of defs, in models and in views, etc etc.. this tutorial actually fixed it. Thank you so much!
@MrValVet
@MrValVet Жыл бұрын
Hey JD, thank you for your awesome Django tutorials. For me, these are by far the best on YT.
@muhsinkhalif3621
@muhsinkhalif3621 5 жыл бұрын
Wow! thanks for the explaination other youtubers just glance over this signalling part(i think they just memorized it and not fully understand the underlying concept of send,receive signalling).
@maahad767
@maahad767 3 жыл бұрын
me too.
@onelinkonelink1677
@onelinkonelink1677 2 жыл бұрын
THANK YOU VERY VERY MUCH!!! . this is the best tutorial about Signals till now . the way how you go through documentation and then do an example is really really good. now it's much easier for me to read the docs next time :))
@FernandoPosserPinheiro
@FernandoPosserPinheiro 6 жыл бұрын
Best django signals tutorial i ever see
@topsome6025
@topsome6025 4 жыл бұрын
Best tutorial for signals so far! Excellent work sir, keep it up.
@maahad767
@maahad767 3 жыл бұрын
I was struggling with this, and you made this easy for me. Thanks man.
@10yearsago84
@10yearsago84 3 жыл бұрын
Amazing Explanation. Really liked the video.
@shreyasambre295
@shreyasambre295 4 жыл бұрын
Nice explanation. I read the documentation but it was bouncers for me u cleared me the concept
@SanjayKumar_optimist
@SanjayKumar_optimist 2 жыл бұрын
Very much helpful, good explanation.
@sumit180288
@sumit180288 4 жыл бұрын
Which is the color theme in vs code you use ?
@theadrix92
@theadrix92 3 жыл бұрын
You made it so easy. Thank you
@avanishgupta5040
@avanishgupta5040 5 жыл бұрын
I am really thankful to you sir for this video which covers all the basic concepts of signals .
@jonl316
@jonl316 2 жыл бұрын
Such a great tutorial! Love what you are doing there and thanks so much.
@anisdhouieb9918
@anisdhouieb9918 4 жыл бұрын
Hi, thank you for this video, which vscode extension do you use to get autocompletion with Django ???
@Shaunmcdonogh-shaunsurfing
@Shaunmcdonogh-shaunsurfing 4 жыл бұрын
It’s GREAT how you explain the code. Grateful brother.
@codeevangelist
@codeevangelist 4 жыл бұрын
Thank you for the tutorial. would like to create another one for us about how to send user notifications with Django signals? of if it is possible how to use signals with rest framework and Django channels
@FahmiEshaq
@FahmiEshaq 4 жыл бұрын
Well explained. Thank you
@pratiksharma6522
@pratiksharma6522 4 жыл бұрын
which extensions of python you are using for django in vscode ?
@eesakamaldien1917
@eesakamaldien1917 2 жыл бұрын
Thank you so much for this
@codeproduct9904
@codeproduct9904 3 жыл бұрын
Thanks for your great effort, Matthew.
@oyatilloismoilov5540
@oyatilloismoilov5540 3 жыл бұрын
Thank you so much bro✊
@chetty1212
@chetty1212 2 жыл бұрын
great vide on signals thank you
@aaryacollections2211
@aaryacollections2211 4 жыл бұрын
This video was very helpful.
@mohamedabdelmoneim5721
@mohamedabdelmoneim5721 3 жыл бұрын
thank you, This is awesome
@amitbaderia4194
@amitbaderia4194 4 жыл бұрын
Very well explained. Thanks a lot !
@spreadhysteria3650
@spreadhysteria3650 4 жыл бұрын
Perfect, I am planning to make a log file of users activity in a .txt file.
@ameerhbaig
@ameerhbaig 4 жыл бұрын
Thanks a lot. You really helped me understand the basics of signals. They were certainly intimidating before this.
@thomasrackow8159
@thomasrackow8159 6 жыл бұрын
Again a great Django tutorial video. Thanks a lot.
@peterrusznak6165
@peterrusznak6165 2 жыл бұрын
yeah, great stuff. subscription earned.
@Kapone2596
@Kapone2596 3 жыл бұрын
Great tutorial.
@xyzmoral262
@xyzmoral262 5 жыл бұрын
Thanks a lot...You make it more easy to understand.
@letccc
@letccc 5 жыл бұрын
Which VScode extension you are using for Django intellisense ?
@MVTN
@MVTN 4 жыл бұрын
Thanks for the video, it really helped me out!
@panagiotisgoulas8539
@panagiotisgoulas8539 4 жыл бұрын
Thank you was a very confusing topic imo that you explained thoroughly.
@geniusxbyofejiroagbaduta8665
@geniusxbyofejiroagbaduta8665 9 ай бұрын
Thank you sir
@mohammadsamir2713
@mohammadsamir2713 5 жыл бұрын
Thanks a lot for your efforts
@michelkant
@michelkant 5 жыл бұрын
Big like for the very clear explanation!
@Unknown-ck7fi
@Unknown-ck7fi 9 ай бұрын
to the point , thanks
@maxitorres7
@maxitorres7 4 жыл бұрын
Thanks a lot man! realy usefull
@yoga_with_atharva
@yoga_with_atharva 4 жыл бұрын
nice explanation👌
@alimurtuza347
@alimurtuza347 4 жыл бұрын
i am learning from different source in that it make another signals file and define the signal there, while i am doing the same the content you provided in an another file signals.py but cannot connect my signals means it doesnot notify me when the request is finished
@mr2mato
@mr2mato 5 жыл бұрын
We only can use django signals in models.py, or we can use it in view.py too?
@nomanabid7113
@nomanabid7113 5 жыл бұрын
you can separatly make signals.py where models and views exist. put the functionality there in signals.py. and do the necessary importing stuff like importing POST model from models.py and doing some functionality in signal.py
@NMD137307
@NMD137307 2 жыл бұрын
16:43 custom signals
@dannyhd8301
@dannyhd8301 2 жыл бұрын
absolutely gr8
@AxmedShiimax
@AxmedShiimax 4 жыл бұрын
Something still in my head, is it necessary to use signals while I want to create a user with profile or can I use after user creation form is a valid and saved then save with its profile? Ur teaching style is awesome. Thank you
@tochimclaren
@tochimclaren 4 жыл бұрын
The best practice will be to set a lot of the profile forms to blank listen to User model signal, create the user object and redirect to user Profile form to update it with information if that's what you are asking about.
@Brun69M
@Brun69M 5 жыл бұрын
why is the Post the sender of request_counter_signal ?
@mysteriousr7197
@mysteriousr7197 3 жыл бұрын
In my project i need something like that..if i save "A" model. Then "A" models imagefield will be automatically added to the "B" models imagefield..can i do it using signal?
@maahad767
@maahad767 3 жыл бұрын
Yes. use something like this => "AnotherModel.object.imagefield = instance.imagefield"
@Zzzzzzzzzzzzzzzzzzzzr
@Zzzzzzzzzzzzzzzzzzzzr 5 жыл бұрын
can signals be used on the frontend to instead send the message to the frontend instead of the terminal? Thanks
@nomanabid7113
@nomanabid7113 5 жыл бұрын
yes
@tanimsk
@tanimsk 3 жыл бұрын
thanks!!!!
@lowkeygaming4716
@lowkeygaming4716 5 жыл бұрын
Hi. Do you have an idea why I'm getting an error with AUTH_USER_MODEL declaration when I register the signals module that I made in the AppConfig? It says that the model that I set is not properly registered?
@nomanabid7113
@nomanabid7113 5 жыл бұрын
may be first create a super user
@shashanksharmadon4295
@shashanksharmadon4295 4 жыл бұрын
Awesome...................
@rathnaveljn423
@rathnaveljn423 5 жыл бұрын
HOW TO perform some action when a dropdown menu is changed its item in DJANGO?
@abdelrhmanahmed1378
@abdelrhmanahmed1378 4 жыл бұрын
now function are called when ever save() called , so if i create new user then save is called then i will get a signal and my logic will get executed, when i update user then also save() get called ,then i also get a signal or not ?!!
@nsulanov312
@nsulanov312 5 жыл бұрын
Great 👍🏼 tutorial
@timothybloxsome5802
@timothybloxsome5802 5 жыл бұрын
This is gold!
@pariszarka7959
@pariszarka7959 5 жыл бұрын
i want to use signals to send an email to the user everytime a user is registerd
@nomanabid7113
@nomanabid7113 5 жыл бұрын
you can
@defidelity
@defidelity 3 жыл бұрын
Ykb 👍 thanks
@alimurtuza347
@alimurtuza347 4 жыл бұрын
it is bit confusion that we call that signal before the request is done
@shubhamnaik4205
@shubhamnaik4205 5 жыл бұрын
Sir, How to stop the "RecursionError" in post_save django signals ? I am calling the post_save signal after updating the post and changing the slug associated with the Post
@chakradharpalaparthi4691
@chakradharpalaparthi4691 4 жыл бұрын
Add the slug using pre_save and not post_save. Because updating a Post in post_save will re-trigger the same receiver.
@Nadeemkhan-fs2ys
@Nadeemkhan-fs2ys 6 жыл бұрын
Great
@Didneodl
@Didneodl 6 жыл бұрын
Thank you for the great tutorial! Do you have any plans to make a tutorial about server side rendering with Django and React in the future? As ssr is required for websites focusing on SEO, I think it would be pretty much demanding!
@mattfreire
@mattfreire 6 жыл бұрын
+Jaehong Park Thanks. Yes we do plan on making a tutorial on it in the coming weeks
@shahzadisairaawan5079
@shahzadisairaawan5079 4 жыл бұрын
sir, can you please turn up your volume. all of your videos are very low in sound
@davidmurphy563
@davidmurphy563 2 жыл бұрын
I wonder if anyone else here has experience with the Godot games engine which has a practically identical signals system.
@shaheerzaman620
@shaheerzaman620 6 жыл бұрын
Good Video. The audio is too low in all your videos. Please make it louder.Thanks.
@aayushdadhich1822
@aayushdadhich1822 4 жыл бұрын
as simple as that.
@sandrynin
@sandrynin 6 жыл бұрын
бесполезный копипаст из документации
How to deploy a Django project with DigitalOcean
31:47
Matt Freire
Рет қаралды 90 М.
Django Middleware - что это, зачем и как использовать
14:48
Диджитализируй!
Рет қаралды 49 М.
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
But how do DJANGO signals work?
35:47
CodingEntrepreneurs
Рет қаралды 44 М.
Learn the basics of Django's Model Managers and Querysets
19:38
Matt Freire
Рет қаралды 44 М.
What is the future of Django / Is Django becoming obsolete?
19:35
Understanding Django Model Relationships
25:56
Pretty Printed
Рет қаралды 95 М.
Creating a Custom User Model (Django)
21:57
CodingWithMitch
Рет қаралды 104 М.
Django Forms Tutorial For Beginners - Get Started Fast! (2018)
29:36
The Dumbfounds
Рет қаралды 166 М.
Django ORM - Introducing Django Signals and the Observer Pattern
13:45
How Model Queries Work in Django
27:47
Pretty Printed
Рет қаралды 95 М.
Django tutorial - How to improve your Django admin
18:20
Matt Freire
Рет қаралды 53 М.
django Architecture - Connection Management
15:10
Hussein Nasser
Рет қаралды 52 М.