Context Processors with Django

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ส.ค. 2024
  • #django #templates #context #refactoring
    In this lesson we will learn about Django context processors. They usually provide a very elegant solution for a wide range of problems - making common models available across ALL django project views. After watching this lesson you may consider little bit of refactoring of your views.

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

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

    GitHub URL: github.com/Django-Lessons/lesson-27-context-processors

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

      I know I'm kind of off topic but does anyone know of a good place to watch new series online ?

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

      @Johnathan Victor Lately I have been using flixzone. Just search on google for it =)

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

      @Rodrigo Leroy Yup, I have been using FlixZone for since april myself :)

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

      @Rodrigo Leroy thank you, signed up and it seems to work =) I really appreciate it!

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

      @Johnathan Victor happy to help xD

  • @anniewiley1425
    @anniewiley1425 3 ปีที่แล้ว +7

    the fastest, easiest video for context processors, thanks man

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

    Well explained, thank you! Have a great day!

  • @iFunktion
    @iFunktion 3 ปีที่แล้ว +8

    This is excellent, really very clear!

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

    why over 3000 views and only 162 likes? this video deserves likes as many as the views

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

    was a good work

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

    AWESOME Video. Thanks so much for it. So hard to find really good, straightforward and *correct* django tutorials that don't complicate things. Job well done.👏👏👏

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

    concise and precise thanks :)

  • @MagnusAnand
    @MagnusAnand 5 หลายเดือนก่อน

    Cool video!

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

    Awsm

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

    Excellent!!

  • @jeremijaredramos2300
    @jeremijaredramos2300 3 ปีที่แล้ว +2

    nicely done! very easy to understand!

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

    thanks ! Very pleasant to watch :)

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

    Great video. Thank you for the short and full of clear information video. Cheers.

  • @user-ss9cg1qk1i
    @user-ss9cg1qk1i 3 ปีที่แล้ว

    Thanks a lot for your solution

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

    That's Great..! Thanks a lot

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

    This is the exact problem I have right now :)

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

    Buen video!!!

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

    thank you so much. it really helped me alot

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

    Very informative video sir. Thank you!

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

    Very helpful

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

    Thanks! Helped a lot!

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

    Oh man, you are a legend, thank you SO MUCH! So well communicated too.
    I was in the process of writing an ajax request and having jquery build a bootstrap accordion when somebody in stackoverflow mentioned context processors which led me to your wonderful channel. Right, I'll delete all that script then! :))

  • @shalomirewole-ojo5335
    @shalomirewole-ojo5335 2 ปีที่แล้ว

    Thanks a lot

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

    thank you so much

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

    This is exactly what I need!

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

    I never rarely give comments to videos I watch, This is very nice video, Understood very well.

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

    Thank you for this!!

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

    thank you

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

    nice

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

    Your channel is great
    Keep it up

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

    very useful...

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

    Tnaks.

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

    Awesome video thank you. Question: At what point is the context for the context processor loaded? Does it happen only once, or more than once? If a new database entry was added to your 'Categories' model, would you need to re-load the context processor--and if so, what's the process for doing so? Thanks

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

    Can anyone help me on "updating context variable through ajax post request"?

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

    Does this work also in django rest framework viwsets or only works for templates?

  • @user-gm3ch6te5c
    @user-gm3ch6te5c 3 ปีที่แล้ว

    такое интересное произношение, are you from Russia..???

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

      скорее из Украины. В начале в админке видно "Welcome, Eugene"

  • @user-ip6nj1un6t
    @user-ip6nj1un6t 4 หลายเดือนก่อน

    сенк ю вери мач бро

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

    are you Boris

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

    Hasnt worked for me, but thanks a lot. Ive posted on stack overflow if anyone can help.
    stackoverflow.com/questions/63223775/django3-issue-using-model-from-another-app-possibly-routing-issue