Introduction to Django Signals | Django (3.0) Crash Course Tutorials (pt 18)

Поділитися
Вставка
  • Опубліковано 12 гру 2024

КОМЕНТАРІ • 77

  • @DennisIvy
    @DennisIvy  4 місяці тому

    Don't forget to check out my Complete Django course! dub.sh/NvGboTI

  • @rooneymara8061
    @rooneymara8061 4 роки тому +21

    I've spent hours watching videos on signals to no avail. Dennis comes in and explains it in frickin' 13 minutes.

  • @riteksaxena2317
    @riteksaxena2317 4 роки тому +43

    this is best channel that I found on youtube for django , I have never learned django so deeply . Others just teach how to write the code . I promise dennis this channel will grow by leaps and bounds . I am now literely addicted to watching the videos on this channel and reached till this video Thanku vry much

  • @looyeeng9946
    @looyeeng9946 4 роки тому +3

    Introduction
    Adding an image file to user profile
    Rendering Image in each account setting page
    Part 1: Manually add an image to the database
    0:42 Adding an image through admin dashboard
    4:34 Configuring media url
    Part 2: Give user the ability to make update themself, submit the form directly from the user page
    8:20 Customise user account settings page
    10:08 Rendering user profile information
    13:10 Handling submission
    14:33 Create a default user picture

    • @4MXW
      @4MXW 2 роки тому

      haha wrong video... maybe it was the last one about the images...

  • @andrewevans4722
    @andrewevans4722 3 роки тому

    I like that you talk meaningfully fast enough to make it impossible for me to listen at 2X speed.

  • @BensonIbe
    @BensonIbe Рік тому

    the best django crash course on UA-cam.

  • @MarcosSilva-xj3os
    @MarcosSilva-xj3os 4 роки тому +1

    As far as I go deep within Dennis´ lessons, the more I learn. Haven´t ever found a so clear teacher about Django during my time of research in the net. Thanks a bunch man.

  • @muhammadamir4964
    @muhammadamir4964 4 роки тому

    Really superb video with simple and understandable instructions. Previously, I was scared by another other tutorial video that I was unable to comprehend the simple concept. Great Work.

  • @georgewest7068
    @georgewest7068 2 роки тому +1

    Денис, привет. Очень помог разобраться с этими сигналами!

  • @tahakhidr
    @tahakhidr 4 роки тому +4

    Thanks a lot. My signals were not working as I had installed my app using the app name only. But when I used the config file as you say the signal worked perfectly.

    • @DennisIvy
      @DennisIvy  4 роки тому

      Yea that one tricked me for a while :)

    • @Georgeggg82
      @Georgeggg82 4 роки тому

      Will this solution work when you go live as well?

  • @randmssolutions9013
    @randmssolutions9013 2 роки тому

    Great tutorial. The Django documentation was a bit vague, especially with tying in the signals within the ready() method. This got me up and running.

  • @junecnol79
    @junecnol79 4 роки тому

    official doc for Signal docs.djangoproject.com/en/3.0/topics/signals/
    7:14 Signal with decorator
    9:13 file structure convention for using Signal
    10:08 docs.djangoproject.com/en/3.0/topics/signals/#django.dispatch.receiver
    12:09 docs.djangoproject.com/en/3.0/ref/applications/#for-application-authors

  • @DineshKc-programming
    @DineshKc-programming 4 роки тому +9

    Please make video on Generic Foreignkey in Django

    • @DennisIvy
      @DennisIvy  4 роки тому +11

      Interesting. This is a topic I haven't looked into but its on my list now. I'll do some research and let you know. Thanks for the recommendation Dinesh :)

  • @bibekjoshi34
    @bibekjoshi34 Рік тому

    Your Videos give best explaination, Please make a clear cut series, in signals, celery and Django Channels for real time communication and their intergration in complex projects. It's a big request

  • @ВіталійГлапшун
    @ВіталійГлапшун 2 роки тому

    Great explanation, Dennis. Thanks!

  • @AbrahamWilson
    @AbrahamWilson 4 роки тому +2

    Awesome video, really simple explanation, I wanted to know if a signal can be triggered only if a specific value in a row has been updated, if so, how would one go about doing that.

  • @tekalignabdisa3219
    @tekalignabdisa3219 11 місяців тому

    great django content. dennis love you

  • @russellquaicoo3102
    @russellquaicoo3102 3 роки тому

    Wow...this video made my night. You are a hero💯

  • @ramiboutas
    @ramiboutas 3 роки тому +1

    YOU ARE AWESOMEEE, YOU ARE MY HERO OF THE MONTH :)

  • @sort_to_see_hidden_comments
    @sort_to_see_hidden_comments 2 роки тому

    Awesome, many thanks.

  • @karimkohel3240
    @karimkohel3240 4 роки тому

    you just murdered my 3 days old bug, thank you man

  • @meenamotiramani5244
    @meenamotiramani5244 4 роки тому +1

    Which theme are you using?

  • @zamanEhsani
    @zamanEhsani 4 роки тому +2

    thanks for the tips on signals. my signals was not working and i was really worried. helped alot.

  • @doniyorabduvokhidov1706
    @doniyorabduvokhidov1706 4 роки тому +1

    Tons of thanks you made my day

  • @shguevara
    @shguevara 3 роки тому

    Awesome tutorial thanks! by the way what theme are you using?

  • @bcddd214
    @bcddd214 4 роки тому

    This is the best free code, ever!

  • @95aldous
    @95aldous 4 роки тому

    feels like a java spring annotation when i use this. Good job dennis! keep up the good work

  • @x24870
    @x24870 4 роки тому

    thanks Dennis, this video helps me a lot!

  • @chharsha4932
    @chharsha4932 4 роки тому

    Thanks I never found a course with django signals,
    Can you please make video on select_related and prefetch_related()

  • @karansahu7885
    @karansahu7885 4 роки тому

    Great job. Can you please make a tutorial on Django oauth2 package?

  • @Samhook934
    @Samhook934 4 роки тому +2

    TypeError at /customer/1/
    __str__ returned non-string (type NoneType)
    when I click customer view. this error comes what is this problem

    • @prashantchanne2836
      @prashantchanne2836 4 роки тому

      did you resolve this error?

    • @kacperfrankowski7705
      @kacperfrankowski7705 4 роки тому +1

      @@prashantchanne2836 In your model Customer change method __str__,(self):
      return self.name,
      you must add in return "or 'some string'" e.g:
      return self.name or "empty name"

    • @rangabharath4253
      @rangabharath4253 4 роки тому

      @@kacperfrankowski7705 Or u can use return str(self.name)

    • @acment
      @acment 4 роки тому

      @@kacperfrankowski7705 Thanks bro, You are a genius!

    • @ozdadev
      @ozdadev 3 роки тому +1

      @@acment you can use .format() method much easier

  • @mayankgupta6542
    @mayankgupta6542 4 роки тому +1

    Can you please make a tutorial on django aullauth package?
    It would be really helpful!

    • @dbassett74
      @dbassett74 4 роки тому

      I second this. Also, how to integrate with external openid connect provider.

  • @aadilkp5335
    @aadilkp5335 4 роки тому

    Great tutorial!
    Can you please make a tutorial on Django notification system using django-notifications or pinax-notifications??
    Thankyou

  • @MayhemBR
    @MayhemBR 3 роки тому

    what is the instance.profile.save() for? I put it in my code but it just gives me an error

  • @anselsolomon6270
    @anselsolomon6270 4 роки тому

    How can i use this signal to keep history? For example, i have a table that have computer inventory records, i want to make Django keep the records of the data that was in that computer inventory table but move them to a new table created...making it keep a kind of history...please, how can i do that?

  • @oyeyinkaojora
    @oyeyinkaojora 4 роки тому

    Nice one sir

  • @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?

  • @heratenny6713
    @heratenny6713 3 роки тому

    Yoo, Can you make a video about Async on Django please ?

  • @zamanEhsani
    @zamanEhsani 4 роки тому

    can you please make another video on how can i get something like two or more foreign key to one model from deferent models. like; i have a model of countries. all countries. i have another model for states. but my third model is cities. the city has column of country id and state id. when creating a city, first i have to choose the country. then, state of the chosen country shall show up. and i could be able to chose state and finally add the city name.
    it would be much appreciated if you could light up on this.

  • @thetruereality2
    @thetruereality2 4 роки тому

    if we have two profiles and we would like to create just one of them to get created can we do that?

  • @olanrewajuadam7499
    @olanrewajuadam7499 2 роки тому

    as always ,thanks

  • @kerryonyeogo4174
    @kerryonyeogo4174 3 роки тому

    For some reasons, sender is not being accessed by pylance and the signals code isn’t working because sender is greyed

  • @amal9540
    @amal9540 4 роки тому

    What is the difference between save() and create()

  • @Magistrado1914
    @Magistrado1914 4 роки тому

    Excellent course
    22/07/2020

  • @infotech3180
    @infotech3180 3 роки тому

    NOT NULL constraint failed: lms_studentdata.student_class_id
    I am facing this error can anyone explain

  • @MrRynRules
    @MrRynRules Рік тому

    Thank you!!

  • @peterwayne3009
    @peterwayne3009 4 роки тому

    Really helpful I stuck after writing app name as app instead of app.appconfig

  • @ozdadev
    @ozdadev 3 роки тому

    Why signals do not work because you need to register it. In order to register you need to update __init__.py file with default_app_config = 'app_name.apps.app_nameConfig' so you don't have to do it in settings.py
    ;)

  • @muhammadshaharyar1
    @muhammadshaharyar1 3 роки тому

    I am getting syntax error in the ready method. It worked in other project for me but I started a new project and it is giving me SyntaxError: Invalid Syntax. Everything is good I double checked.

    • @amandeepnokhwal5416
      @amandeepnokhwal5416 3 роки тому

      Happening with me as well. It's saying base.signals could not be resolved .Did you find the solution??

    • @muhammadshaharyar1
      @muhammadshaharyar1 3 роки тому

      @@amandeepnokhwal5416 not yet. Bro.

  • @dinindutheekshana2254
    @dinindutheekshana2254 3 роки тому

    Can anyone have the fully functional source code of this projects.

  • @jizzervirusreptikonski8756
    @jizzervirusreptikonski8756 Рік тому

    let's go ahead, let's go ahead, let's go ahead...

  • @ahmedhamdy7680
    @ahmedhamdy7680 4 роки тому

    Thank you very much.

  • @xizlt
    @xizlt 4 роки тому +1

    I love you!!!!

  • @golammaulla7236
    @golammaulla7236 4 роки тому

    Brother upload Django advance series . Your learning way just to good . Thank you

  • @lokendraved3263
    @lokendraved3263 4 роки тому

    in admin panel i am not having profile table can someone help?

    • @nitin4525
      @nitin4525 4 роки тому

      same issue..!!
      did u resolve this error!!

  • @abdullahatif7854
    @abdullahatif7854 3 роки тому

    I basically came to this video because I too didn't know about the work in apps config file. LOL
    And for one moment I thought that django doesn't work. Silly me :)

  • @KevinTempelx
    @KevinTempelx 4 роки тому

    Thanks!

  • @ffoofooify
    @ffoofooify 3 роки тому

    you re awesome

  • @magrigsdesign8469
    @magrigsdesign8469 3 роки тому

    thanks

  • @rohanpednekar8074
    @rohanpednekar8074 4 роки тому

    Great !

  • @windyboy1995
    @windyboy1995 4 роки тому

    Thank you (Y)

  • @dinindutheekshana2254
    @dinindutheekshana2254 3 роки тому

    papa django