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.
GitHub URL: github.com/Django-Lessons/lesson-27-context-processors
I know I'm kind of off topic but does anyone know of a good place to watch new series online ?
@Johnathan Victor Lately I have been using flixzone. Just search on google for it =)
@Rodrigo Leroy Yup, I have been using FlixZone for since april myself :)
@Rodrigo Leroy thank you, signed up and it seems to work =) I really appreciate it!
@Johnathan Victor happy to help xD
the fastest, easiest video for context processors, thanks man
Well explained, thank you! Have a great day!
This is excellent, really very clear!
thank you!
why over 3000 views and only 162 likes? this video deserves likes as many as the views
was a good work
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.👏👏👏
concise and precise thanks :)
Cool video!
Awsm
Excellent!!
nicely done! very easy to understand!
Glad it helped!
thanks ! Very pleasant to watch :)
Great video. Thank you for the short and full of clear information video. Cheers.
Thanks a lot for your solution
That's Great..! Thanks a lot
This is the exact problem I have right now :)
Buen video!!!
thank you so much. it really helped me alot
Very informative video sir. Thank you!
You are welcome
Very helpful
Thanks! Helped a lot!
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! :))
Thanks a lot
thank you so much
This is exactly what I need!
I never rarely give comments to videos I watch, This is very nice video, Understood very well.
Thank you for this!!
thank you
nice
Your channel is great
Keep it up
Thanks!
very useful...
Tnaks.
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
Can anyone help me on "updating context variable through ajax post request"?
Does this work also in django rest framework viwsets or only works for templates?
такое интересное произношение, are you from Russia..???
скорее из Украины. В начале в админке видно "Welcome, Eugene"
сенк ю вери мач бро
are you Boris
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