No video

Django signals for beginners | How to use signals in Django

  Рет қаралды 19,566

Pyplane

Pyplane

Күн бұрын

Tutorial on django signals for beginners
This video is an introduction to most commonly used signals in Django that every beginner should know. Learn how to use basic signals in Django : post_save, pre_save, m2m_changed, pre_delete
in an introduction, project based tutorial on Django signals. After watching this video, you'll understand how django signals work and you will be able to include them in your own projects!
I haven't found online a tutorial which would cover in one short video Django signals - so this is my attempt to help beginners get started on this.
Recorded with a fever, but hopefully still understandable enough :)
🔥 Join the facebook group:
/ djangoninjas 🚀
🔥 Follow pyplane on:
➜ instagram: / pyplane_code
➜ pinterest: / pyplane
➜ facebook: / pyplane
🔥 More on python and django:
➜ blog.pyplane.com
Join the facebook group:
/ djangoninjas
Links to the docs:
➜ docs.djangopro...
➜ docs.djangopro...
#django #signals #pre_save #post_save #m2m_changed #pre_delete
django, signals, signals in django, django signals, django signals for beginners, post_save, pre_save, m2m_changed,pre_delete, learn django signals,django signals tutorial, django signals post_save, learn django,django signals pre_save,django signals explained, django signals example, Django signal post save

Пікірлер: 90
@Pyplane
@Pyplane 4 жыл бұрын
Hi Guys! If you're new to django make sure to checkout free django social network course available on my channel: kzbin.info/www/bejne/pavVZ4F7pNJ_h9k
@rooneymara8061
@rooneymara8061 4 жыл бұрын
Here before 1k subscribers. Don't forget the OGs when you blow up because this is some quality content and deserves to blow up. Cheers, mate.
@Pyplane
@Pyplane 4 жыл бұрын
Thank you! :) For me 100 subscribers was a lot. 1000 is like a dream :) just can't imagine it yet that someday it might be 10 000. Thanks once again!
@naumank604
@naumank604 3 жыл бұрын
@@Pyplane and now its 17.6K :), Wish you 100K next year :)
@muhammad_abir
@muhammad_abir 2 жыл бұрын
thanks bro..... after watch a lot of tutorials on youtube, finally I actually got a proper idea about signals
@dmytromykytiuk1244
@dmytromykytiuk1244 2 жыл бұрын
thank you so much! thanks to you I have written my first signals and they work properly your explanations are very clear
@et4493
@et4493 Жыл бұрын
by far my favourite channel to learn Django. Django is pretty complex IMO, there's a lot of referencing back and forth but you do a great job of pointing it out and guiding us through it.
@Pyplane
@Pyplane Жыл бұрын
Thank you! 😊🙌
@mohammedmisran113
@mohammedmisran113 3 жыл бұрын
Awesome job in explaining how django signals work!! I was stuck in a project too trying to implement signals. Your video gave me a clear idea on how they work now... thanks a lot
@Geekyology
@Geekyology 3 жыл бұрын
Highly underrated channel. Your content is just amazing. Keep it up
@muhammadyasir8880
@muhammadyasir8880 3 жыл бұрын
Excellent tutorial of Django Signal. 👌
@Pyplane
@Pyplane 3 жыл бұрын
Thank you!
@martinsalamanco6595
@martinsalamanco6595 4 жыл бұрын
Damn, signals aren't that easy. Nice explanation!
@Pyplane
@Pyplane 4 жыл бұрын
thank you ;))
@samuelagbesi6103
@samuelagbesi6103 4 жыл бұрын
Thanks for sharing this knowledge and providing more insight into signals. This will help me to improve on a project I am working on. Very helpful. :)
@Pyplane
@Pyplane 4 жыл бұрын
Thanks for watching and good luck on the project ! :)
@hadytaha2344
@hadytaha2344 3 жыл бұрын
You are a very great person and your work is wonderful and your explanation is simple. I would like to donate to you, but I am not working right now. I am a student but for my first job I will donate to you. you are a wonderful person. keep going, brother. You are my only source for learning Django Thank you very much
@yukselbastan4687
@yukselbastan4687 4 жыл бұрын
yet another great tutorial from the best of the best , thanks Lucas.
@Pyplane
@Pyplane 4 жыл бұрын
Definitely don't feel the best of the best, but thank you so much for your support! :))
@yukselbastan4687
@yukselbastan4687 4 жыл бұрын
@@Pyplane you style of teaching is very good, as i mentioned before, i watched sooo many tutorials, your tutorials are better, and the great think of you is, you are answering and helping us. THANKS. BUT this doesnt mean that you can let us wait for PART 11 and the other Social PARTS :D
@Pyplane
@Pyplane 4 жыл бұрын
@@yukselbastan4687 Thanks :) I had a nice laugh. Tomorrow 11th part should be ready:)
@raymondmichael4987
@raymondmichael4987 4 жыл бұрын
Thanks I'll check this definitely ; Wishes you good health. Greetings from Tanzania 🇹🇿
@Pyplane
@Pyplane 4 жыл бұрын
Thank you ;)))
@jhkz4313
@jhkz4313 3 жыл бұрын
Thanks for the video, I faced in a situation, needing django signals. it gave me a pretty good grasp about it.
@Pyplane
@Pyplane 3 жыл бұрын
Glad my video helped you out:) Cheers!
@aashayamballi
@aashayamballi 4 жыл бұрын
This is a great channel for django tutorials.. thanks for all your efforts.. I have one request, could you please make a tutorial on django channels with few real world examples like updating the progress bar in real time, real time notification counter etc. Again thank you so much for all your efforts! Much appreciated 😊
@Pyplane
@Pyplane 4 жыл бұрын
Hi Aashay! Thanks for the kind words. Django channels are on my list, but there are still a few videos I want to publish before. In the meantime you can check out Daniel Feldroy's video on Django channels. I haven't seen it, but Daniel is one of the leading experts in django. Link: kzbin.info/www/bejne/r5rddZyOZbiCo5Y
@aashayamballi
@aashayamballi 4 жыл бұрын
@@Pyplane Thank you 😊
@deusdev7111
@deusdev7111 Жыл бұрын
Many thanks for the tutorial ! Super helpful
@Pyplane
@Pyplane Жыл бұрын
Glad you liked it 🙌
@deusdev7111
@deusdev7111 Жыл бұрын
@@Pyplane Now that I finished with your tutorial I will try to make it so that users know which quiz they already made, showing their previous results, letting them choose if they want to take it again and restart the score, etc. Wish me luck! :D
@radomirmijovic2605
@radomirmijovic2605 2 жыл бұрын
awesome video man, thanks!
@delllatitude299
@delllatitude299 3 жыл бұрын
as you going, you will get 500k+ subscriber in 2021. You have unique and up-to date content. Thanks. following your every video and always think i will get something new from your video even if i know the topic. I got
@Pyplane
@Pyplane 3 жыл бұрын
thank you ! it's good to have you here on the channel. I appreciate each comment and the support. thank you one more time!
@GiantsOnTheHorizon
@GiantsOnTheHorizon 3 жыл бұрын
I may have read this wrong but, in the docs it seems like as long as you use the full "dotted" path in your INSTALLED_APPS, it appears that you don't need to use the default_app_config in your __init__.py file. Anyway, I love your channel! Thanks for all of the great content.
@rezasadeghi2520
@rezasadeghi2520 3 жыл бұрын
thats the best signal video I've seen
@Pyplane
@Pyplane 3 жыл бұрын
Thank you Reza!
@ismailprasetyo197
@ismailprasetyo197 2 жыл бұрын
thank you so much Luke
@yashlanjewar9971
@yashlanjewar9971 4 жыл бұрын
Actually I want add friend, remove functionality. And your videos was great you are god.
@Pyplane
@Pyplane 4 жыл бұрын
Thx. We will do this functionality in part 12, maybe 13 of the social network project ;)
@yashpatel-ts4ti
@yashpatel-ts4ti 2 жыл бұрын
Thank you so much for this video
@RuslanSkiraUkraine
@RuslanSkiraUkraine 3 жыл бұрын
Would you shoot the video about how to make the custom signal and how to use the list of signals in @receiver([], sender=..)? And could you please explain the def ready(). After documentation more questions than answers). Thank you for your work!
@yashlanjewar9971
@yashlanjewar9971 4 жыл бұрын
Admin work in part one was great
@vinothv1720
@vinothv1720 3 жыл бұрын
Thank you sir! Django signals is really useful and awesome...
@Pyplane
@Pyplane 3 жыл бұрын
Thanks for watching!
@shaiksadik2541
@shaiksadik2541 4 жыл бұрын
Love from India ur channel is gonna 💣💥💣💥💣💥boom
@Pyplane
@Pyplane 4 жыл бұрын
Thank you Shaik! :)))
@shaiksadik2541
@shaiksadik2541 4 жыл бұрын
@@Pyplane I have one doubt, plz give me say about django, is django used in data science or AI and many others....... I completed python and basics of django! I hope u can go in detail. Thank u
@Pyplane
@Pyplane 4 жыл бұрын
@@shaiksadik2541 I can tell you from my perspective - I use data science in project for my clients and with one of the customer we are planning within 2 years to create an ANN for prediction purposes. But don't start too many things at once. If you know the basics of python and django maybe it's time to learn some intermediate stuff ?
@shaiksadik2541
@shaiksadik2541 4 жыл бұрын
@@Pyplane yes ur right! So u want me to continue until I master python and django........?
@Pyplane
@Pyplane 4 жыл бұрын
@@shaiksadik2541 until you feel comfortable with it
@antonioinochi9170
@antonioinochi9170 2 жыл бұрын
Always great video, I noted that sometimes the signals trigger fault, is there a way to make it asinc to avoid any sort of fault? Thanks
@tshiamomotshabi9862
@tshiamomotshabi9862 3 жыл бұрын
Very insightful tut...
@Pyplane
@Pyplane 3 жыл бұрын
Thank you! :)
@tshiamomotshabi9862
@tshiamomotshabi9862 3 жыл бұрын
@@Pyplane Over the weekend I did a few exercises and came across something interesting. I tried to run my app concurrently to see if the signal would crash or handle the process. However it created 200 instances from 3 concurrent model creations. Why would that be?
@chetty1212
@chetty1212 2 жыл бұрын
thank you sir !
@aaklii
@aaklii 3 жыл бұрын
Thanks, It was super clear..!!
@mrescape100
@mrescape100 3 жыл бұрын
Perfect tutorial!! Congrats
@codedjango
@codedjango 4 жыл бұрын
Thank you very much for this tutorial :)
@Pyplane
@Pyplane 4 жыл бұрын
Thanks for watching! :)
@oleksandrdiadiushenko4971
@oleksandrdiadiushenko4971 2 жыл бұрын
Thank you for a great tutorial. Give advice please. I need to generate qrcode using an ID of saved element. After creating the ID = None. This can only be done after re-saving. Do you have simple solution?
@Pyplane
@Pyplane 2 жыл бұрын
Hi, I have a tutorial on qrcodes here on the channel and on instagram - pyplane_code
@chowadagod
@chowadagod 4 жыл бұрын
Thank you so so very much for test ..please could you do a video series on how to carry out test cases on your Django app using unittest or pytest
@Pyplane
@Pyplane 4 жыл бұрын
Hi Chowa. Thanks for watching the video. Sure, I’m putting pytest on my list. In the meantime you can checkout Daniel Feldroy’s video on this: kzbin.info/www/bejne/mmiYopmCYpmFgsk
@rangabharath4253
@rangabharath4253 4 жыл бұрын
awesome
@AnkurChakraborty-sp5kc
@AnkurChakraborty-sp5kc 4 жыл бұрын
You are awesome .
@Pyplane
@Pyplane 4 жыл бұрын
Thank you! :)
@blackpetergriffin179
@blackpetergriffin179 3 жыл бұрын
hey please tell us how to use Django signals with foreign keys related models two models chained in foreign key on model b when he select a in foreign key choices in a model it update the section and it will say b choses you.
@krishnanduranjnroy2321
@krishnanduranjnroy2321 2 жыл бұрын
I've facing some issue while creating my models using signals. can you help me?? PLEASE...
@samsonharuna2071
@samsonharuna2071 2 жыл бұрын
Thanks Boss
@komilyaxshilikov5729
@komilyaxshilikov5729 4 жыл бұрын
Thank you , your tutorial is very useful and i have a question obj = Buyer.objects.get(user=instance.buyer.user) i can't understand this kind of combination meaning , how do i try to understand such as relationships ? thank you .
@Pyplane
@Pyplane 4 жыл бұрын
Hi. Instance is an instance of the sender class. We are just grabbing the object by the user. Please watch again from minute 27. Cheers
@diescatric4559
@diescatric4559 2 жыл бұрын
how to do that in views at templates?
@kaushalendrapandey2662
@kaushalendrapandey2662 4 жыл бұрын
loved it....
@Pyplane
@Pyplane 4 жыл бұрын
thank you!
@mahmudsajib8648
@mahmudsajib8648 4 жыл бұрын
Very helpful 😍
@Pyplane
@Pyplane 4 жыл бұрын
Thank you Mahmud. Very happy it helped :)
@shashankpandey1966
@shashankpandey1966 3 жыл бұрын
🔥🔥🔥🔥🔥🔥🔥
@Pyplane
@Pyplane 3 жыл бұрын
:)
@yashlanjewar9971
@yashlanjewar9971 4 жыл бұрын
Hello can you please tell me when will the second part of friends request tutorial come
@Pyplane
@Pyplane 4 жыл бұрын
Hi Yash. Thanks for the comment. Are you referring to video how to add to friends in django? If so, I decided to upload the entire social network project where we do those things and more
@yashlanjewar9971
@yashlanjewar9971 4 жыл бұрын
Sir is it in django series of 11 tutorials
@yashlanjewar9971
@yashlanjewar9971 4 жыл бұрын
Sir can you make separate series on it
@Pyplane
@Pyplane 4 жыл бұрын
@@yashlanjewar9971 Yes, there will be more then 11 parts - it's quite a big project
@yashlanjewar9971
@yashlanjewar9971 4 жыл бұрын
Sir when will django series part 12 come.
@Pyplane
@Pyplane 4 жыл бұрын
Hi Yash. Hope you're doing well. The answer to your question is tomorrow :) Today I'm going to upload a additional tutorial to a social net work project on following users
@yashlanjewar9971
@yashlanjewar9971 4 жыл бұрын
Sir have you uploaded this project on github
@Pyplane
@Pyplane 4 жыл бұрын
No, but I'll upload to github the main tutorials here on youtube in the upcoming days
How to extend the User Model in Django with AbstractUser
13:55
Gli occhiali da sole non mi hanno coperto! 😎
00:13
Senza Limiti
Рет қаралды 24 МЛН
What will he say ? 😱 #smarthome #cleaning #homecleaning #gadgets
01:00
SPONGEBOB POWER-UPS IN BRAWL STARS!!!
08:35
Brawl Stars
Рет қаралды 24 МЛН
If __name__ == "__main__" for Python Developers
8:47
Python Simplified
Рет қаралды 400 М.
Django forms with Ajax | How to use ajax with django
34:30
Pyplane
Рет қаралды 40 М.
But how do DJANGO signals work?
35:47
CodingEntrepreneurs
Рет қаралды 42 М.
The Most Legendary Programmers Of All Time
11:49
Aaron Jack
Рет қаралды 555 М.
Django Update Image Deletion with Signals
21:07
Very Academy
Рет қаралды 1,5 М.
Learn the Basics of Django Signals
22:37
Matt Freire
Рет қаралды 50 М.
AI Expert Explains Future Programming Jobs… and Python
9:59
Travis Media
Рет қаралды 289 М.
"I Hate Agile!" | Allen Holub On Why He Thinks Agile And Scrum Are Broken
8:33
Gli occhiali da sole non mi hanno coperto! 😎
00:13
Senza Limiti
Рет қаралды 24 МЛН