Using Sessions in Django

แชร์
ฝัง

ความคิดเห็น • 29

  • @HasoVids
    @HasoVids 4 ปีที่แล้ว +12

    Excellent explanation. Lifted the hood on something I thought would have been a lot more complicated than it seemed - thanks 👍

  • @lanceknickerbocker3209
    @lanceknickerbocker3209 3 ปีที่แล้ว

    Hi, Chuck! Thank you for explaining these concepts. I've been learning django dev since quarantine began. This has been super helpful in moving to the next level. Thanks!~

  • @marcc1179
    @marcc1179 3 ปีที่แล้ว

    very clear explanation. I watched a few videos about sessions and this one is easiest to understand.

  • @phananh8589
    @phananh8589 4 ปีที่แล้ว

    you give learner knowledge, not just some codelines, thank prof.

  • @christopherdoyle667
    @christopherdoyle667 3 ปีที่แล้ว +1

    You should consider a donation tab, your tutorials are excellent!

  • @ajaysharma1560
    @ajaysharma1560 4 ปีที่แล้ว +2

    I liked the way of clarity in your video , Thanks for sharing info
    :)

  • @Mj_All_In_One
    @Mj_All_In_One 4 ปีที่แล้ว

    That is a very powerful delivery of knowledge, keep posting more lectures. I just subscribed your channel and look forward to more of such lectures ;D

  • @mutatinaabel4752
    @mutatinaabel4752 4 ปีที่แล้ว +2

    Very informative Sir. Thanks for sharing your knowledge

  • @aakashjana6225
    @aakashjana6225 4 ปีที่แล้ว

    Really loved the explanation.

  • @user-mk5dm5gb5x
    @user-mk5dm5gb5x 2 ปีที่แล้ว

    Hello from Russia and thank you very mush for amazing explanation.Your channel is great

  • @SaSha-hb5rq
    @SaSha-hb5rq 4 ปีที่แล้ว

    Thanks so much for such a great explanation. Hope your channel grow bigger

  • @thomascougnon9419
    @thomascougnon9419 4 ปีที่แล้ว

    Very useful explanation. Thank you.

  • @aHardReset
    @aHardReset 3 ปีที่แล้ว

    Awesome explanation. Thanks for the video

  • @shuaibalghazali3405
    @shuaibalghazali3405 ปีที่แล้ว

    Very informative, thanks for posting

  • @kotebegiashvili5773
    @kotebegiashvili5773 ปีที่แล้ว

    excellent explanation 👍👍👍

  • @hosseinsokhandan450
    @hosseinsokhandan450 4 ปีที่แล้ว

    I just commented to say love you Charles

  • @vidyagidde
    @vidyagidde 2 ปีที่แล้ว

    Thank you for the knowledge

  • @kyleropp6634
    @kyleropp6634 4 ปีที่แล้ว

    I laughed at 0:28 because the image immediately reminded me of a Rube Goldberg machine. Thanks for simplifying things, though.

  • @kumarshubham9217
    @kumarshubham9217 4 ปีที่แล้ว

    Thanks!

  • @Klavionik
    @Klavionik 4 ปีที่แล้ว

    7:15 Actually, it's going to count 1-2-3-4-5 before the deletion happens.

  • @briandethloff2451
    @briandethloff2451 3 ปีที่แล้ว

    thanks a lot.

  • @kienphan6436
    @kienphan6436 ปีที่แล้ว

    TYSM

  • @unperrier5998
    @unperrier5998 4 ปีที่แล้ว

    At 7:00 did you know that del is a language keyword? It's not a function. The parenthesis is not required and it makes it look like a function, but it's not.

    • @ChuckSeverance
      @ChuckSeverance  4 ปีที่แล้ว +1

      Thanks. Nice to learn something new. I made an assumption given the function kerfuffle around print - but makes perfect sense when thinking of the Python OO model. Feels inconsistent. Looking at len() it does appear inconsistent. Ah well. I will only use it with parenthesis to show solidarity with print () and len() :) Thanks again.

    • @unperrier5998
      @unperrier5998 4 ปีที่แล้ว

      @@ChuckSeverance there's a fundamental difference between len() & print() on one side and del on the other: it's possible to write your own version of len() and print(), len is trivial whereas print is more involved, but it's not possible to write an implementation for del(). Why? because "del" calls __delitem__() on the dictionary itself but when it's a function, calling "del(some_dict[key])" passes one argument to the del() function: the value stored at some_dict[key] however del() needs to act on the dictionary itself, not on the value, but the relationship is gone once we've dereferenced the dictionary and obtained the value.
      del is a bastard legacy: it's meant to operate on variables (local and global variables are contained in dictionaries) but when used on an object it calls __delitem__()... depite looking like other languages, it's confusing for beginners when they learn python data model and "everything is an object" philosophy.
      I'd prefered have del be a proper function similar to getattr() and hasattr() for example named delitem()
      In any case, thanks for the django videos :)

    • @ChuckSeverance
      @ChuckSeverance  4 ปีที่แล้ว

      @@unperrier5998 Thanks for the clarification. I rarely use del so that is why I never dug into the detail.

  • @KevinTempelx
    @KevinTempelx 3 ปีที่แล้ว

    Thanks!