its been 2 years since i first came across this channel, i learned everything about Django and python here. This channel was the reason for my success in the backend field. I got my first ever job bcz of the teachings here. I am very happy to see this channel grow. at first i just learned Django from here to do my graduation project, then to secure a job. Now I always recommend it to anyone who wants to learn and understand Django. Thank you for your hard work!
Glad you have found value in the content! I will keep trying to make it better and hopefully create a more visible and organised learning path. Good luck with your career, enjoy! Thank you for the recommendations too!
Hello! I watch your videos for study, rest, and healing. I'd like to thank you for your excellent quality video. The content, composition, and explanation are all the best. And what I think people from all other countries will admit is that your pronunciation is good, so it's easy to understand, the automatic subtitles are accurate, and thank you for the videos that you put English subtitles yourself!!! I always appreciate your sincerity!!! I LOVE YOU❤❤❤
You are making perfect sense. As someone who loves functions, I was feeling a bit lost trying to figure out how the models and views fit into the big picture. I have much better idea after only a few videos and I'm definitely going to watch them all.
Hello, absolutely fantastic : while having been learning django for almost a year, I could never really understand the magic behind the CBV. Thank you so much: I will go through the whole series !
@@veryacademy : First step first, I've immediately decided to join your plateforme. Later on, I will share with you my suggestions, as I'm learning Django intensively and will need an extensive use of Python in my future projects. For the time being, it's really great: nothing to add compared to the other tutos or books I've followed or read.
It really helps a lot to understand the mechanis of django in detail. i've been seen many youtuber contents and typed. but that's it! Now i truly realized this is real dope! Thank you for your awesome video.
Thanks for you videos. This ones really benefit to me personally and to others. I have started watched your videos recently and have found many things, that help me learning django and got new knowladge and expiriense.
such a wonderful video when u go through the documentation it drives u crazy but if u watch his videos the concepts get straight and clear into heads thank u so much sir plz keep up the good work
You are the best django teacher I have seen so far. Thanks for this amazing videos. And yes, you do make total sense of coding. Love form Bangladesh man
Really nice video. Thanks for making it. The one thing that was mildly confusing was that the database table was named Post. For a moment I thought you referring to the POST method.
New DRF series coming out today - it won’t stop - we have hardly scratched the surface! Saying that I do need to diversify a little. Apart from Django what would you be interested in?
Do you have a video explaining function-based views? It would help to get a better understanding of the concept by comparing class-based and function-based views with each other.
Me: I need an indepth tutorial for CBV so that I finally get my head around it. Google Answers: Very Academy. Recommendation: Spend the time. Worth a lot. But be patient if your a newbie like me.
Well explained! But how do we make use/call some of the properties within the super class. The documentation doesn’t show those examples. They only mention it
Hey VA, thanks a lot for these tutorials. I am still wondering how do you know which attributes and classes you need to use when. For me at least, it would be helpful if you could show how you decide which to use from the docs. Thanks!
Very nice explanation. I love it. I hope you can do a video on Multi User authentication e.g. Student, Teacher etc. using Django allauth and Custom User inheriting from AbstractUser. I can not find any good tutorial or explanations.
Great video Thank you for sharing your knowledge. i just want to know why you imported TemplateView from django.views.generic in the urls.py but you imported it from django.views.generic .base inside the views file.
Hi fun code, my apologies for the lack of consistency, I hadn't even noticed - I had no motive or reason to do that other than we now know both approaches can be used. Thank you for watching, hopefully this answers your question - if not please let me know.
I am just about to purchase one of your courses on Udemy. - You cover swaths of Django material that is not easy to find. - especially on the intermediate level...
@@veryacademy I am new to Django and this serie of videos really helped me to clarify questions. If you have any other videos over Udemy or any other platform, I am willing to get enrolled.
Hi Antonio, sorry, at the moment we are just on TH-cam, everything is slowly building towards Udemy - suppose I am just testing the waters here and trying to get better at delivering content. But even then just ask and if I can I will give you a code - no need to pay. 👍
answer from previous question below: "Regarding Super - essentially, the super function can be used to gain access to inherited methods - from a parent or sibling class - that has been overwritten in a class object. So Super allows us access to over-write or add to a class. So we are using class based views - generic pre-written code from Django. It doesnt always do what we want it to do so using Super() we can have the ability to add or over-write the class to make it do what we want. I purposely left that out and explained it in a later tutorial. What can be concluded in my mind is that this series needs a basic understanding of OOP - which am now thinking about adding to the start of this series to support those who may have no experience with OOP (object-orientated programming)."
Hi Bishal, keeping it brief - we use super function can be used to gain access to inherited methods - remember class based views inherit from other classes - sometimes we want to make changes to the default settings. kwargs - there are some good videos on youtube - but in short **kwargs allows you to handle named arguments that you have not defined in advance. So like in example I have given we can loosely put - store data in kwargs and use it in our functions
Hey I really like your channel SO MUCH. However as much as I want to keep this channel secret for myself I know that the things I'm about to say would actually help you grow. So first, you should try and get an intro at some point (This is the least important). Second, a lot of people associate the default theme as boring to view. "I know it's silly" but you should get a more vibrant theme up there for the viewers such as sublime or atom theme etc. Lastly, you should speed up the video before producing it by 5%-10%. People aren't good at tuning in for long they even do this on the radio and shorten the songs too (I'm sure you're aware). I'm okay with everything however I know those things would help if you're interested in that. Anyways thanks again for your videos!
Hi Kevin, thank you, I really do appreciate any feedback or thoughts on how to improve things around here. It really is a mission of mine to better define online learning practices for education. So this is great feedback back. In addition to this and that and everything else - I have been developing an algorithm to detect characteristics to assess online video tutorials. The aim is to to scan video to discover and explore characteristics and trends in videos to determine best practices for online tutorials. But saying that - the best feedback is always going to be from just asking. So again, I really do appreciate you given up time to make a suggestion. One of the biggest issues for teachers is that they don't take feedback, they get old and don't evolve over time. Moving from the classroom to online has been a big education for me over the last few months I have started this channel. I have actually yet to produce a tutorial I could say I like. Everything is work in progress. Ok - I will stop there 😁 please keep the ideas and suggestions flowing - I cant do this without valuable and constructive feedback like yours. 👍
@@veryacademy No feel free to vent! Yeah I'm scared to say anything that might be considered bad advice but I feel confident in those things as they're pretty obvious already. Other than that you're a good teacher and that makes sense to hear that you were one. I think the biggest problem experienced people make is skimming over what seems to be extremely obvious stuff but forgetting how complex it seemed however many years ago when you first started. Your style seems to break things down well, almost into simplest form as you explain one thing to another and how they work and their connection etc. So just keep doing your thing. The road from 0 to 15k will probably be slower than 16k - 50k. So just give it time but trust me when I say this channel has potential. Thanks again.
I watched the entire video but still don't get the benefit of using class view. I guess the comments who wrote great awesome ect. are from those who already know a lot more here. It could be great if you could compare with a function based view and so we could see why we would bother to use this class based thing. Also the get_context_data could be explained in detail. what is super() doing there ect. I am very confused. But this is not surprise since I have watched all the videos on the topic and still doesn't make sense to me without any examples. Some videos are pure theory and some are pure fast code typing. Difficult ones like this requires more in depth explanation with couple of examples and comparisons. Maybe several videos.
Hi James, thank you for the open and honest review, it is really helpful to get this type of feedback to help direct and improve tutorials offered here. The difficulty with any educational setting online is that it is impossible to create a tutorial for all types of learner abilities, this is a middle of the road type of information giving tutorial where you would expect to have a general understanding of what a class is, in general programming terms. So, to go through your comment, the video was not aimed at trying to inform you of the benefit of using a class view. Django offers two approaches, this being on of them. Using classes or functions can ultimately just come down to preference. What one person might see as a strength, another will view as a weakness or unsuitable - this is what I enjoy about the industry - everyone has different ideas and methods to perform what ends up as the same result. In some cases, security or performance might prevent or direct you to using certain approach. To try and answer the benefit of class views - at least generic class views here. Django has pre-written classes that perform common functionality, so the benefit is that - you don't need to write the whole class/function - you just use pre-written code that does the job - very time efficient. I did not provide a comparison because all we would be comparing is similar lines of code except a generic class would have 3 lines of code (the rest is abstracted in the classes built in) and a function you would see many more lines of code in the view. They both would do the same thing. That would be an initial thought. Secondly - the benefit of classes are what classes offer - this you would need to understand OOP fundamentals. The main take home here is that, Django offers an existing code base (generic views) that we can use to quickly prototype or build application. Interesting that you are not the only person to mention context data. This is simply just additional data we want to send to template. So we package additional data into the context to pass to the template. Regarding Super - essentially, the super function can be used to gain access to inherited methods - from a parent or sibling class - that has been overwritten in a class object. So Super allows us access to over-write or add to a class. So we are using class based views - generic pre-written code from Django. It doesnt always do what we want it to do so using Super() we can have the ability to add or over-write the class to make it do what we want. I purposely left that out and explained it in a later tutorial. What can be concluded in my mind is that this series needs a basic understanding of OOP - which am now thinking about adding to the start of this series to support those who may have no experience with OOP (object-orientated programming). Thank you again - any more questions please just ask. Any other suggestions or guidance for future tutorials that you think would be beneficial would be most welcomed. You can PM me on the veryacademy Facebook page if you wanted to share any ideas for tutorials, if you prefer.
@@veryacademy You are welcome, my good man! According to our Sanatana Dharma, Your unselfish karma will not go unrewarded and will fetch you in this Janma and in your reincarnations too.
I really rarely comment on videos. I couldn't resist because this is a masterpiece. Perfect job! I've learnt a lot, I'll finish up the series
its been 2 years since i first came across this channel, i learned everything about Django and python here. This channel was the reason for my success in the backend field. I got my first ever job bcz of the teachings here. I am very happy to see this channel grow. at first i just learned Django from here to do my graduation project, then to secure a job. Now I always recommend it to anyone who wants to learn and understand Django. Thank you for your hard work!
Glad you have found value in the content! I will keep trying to make it better and hopefully create a more visible and organised learning path. Good luck with your career, enjoy! Thank you for the recommendations too!
thank you kind soul you will never understand how much value you just gave me. Thank you from the bottom of my heart
Absolutely no, problem!
I can really see effort and passion made for every video you make. Your the best! keep up the good work!
Thank you so much 😀
Hello! I watch your videos for study, rest, and healing. I'd like to thank you for your excellent quality video. The content, composition, and explanation are all the best. And what I think people from all other countries will admit is that your pronunciation is good, so it's easy to understand, the automatic subtitles are accurate, and thank you for the videos that you put English subtitles yourself!!! I always appreciate your sincerity!!! I LOVE YOU❤❤❤
Love the way you're dealing with the views specifically.
Great, it shall continue - bit of a slow day today I will get another one done at some point today.
You are making perfect sense. As someone who loves functions, I was feeling a bit lost trying to figure out how the models and views fit into the big picture. I have much better idea after only a few videos and I'm definitely going to watch them all.
Hello, absolutely fantastic : while having been learning django for almost a year, I could never really understand the magic behind the CBV. Thank you so much: I will go through the whole series !
Thanks Fabrice, I will update this all at some point - let me know if you do watch the whole series - good to get some more suggestions
@@veryacademy : First step first, I've immediately decided to join your plateforme. Later on, I will share with you my suggestions, as I'm learning Django intensively and will need an extensive use of Python in my future projects. For the time being, it's really great: nothing to add compared to the other tutos or books I've followed or read.
This is exactly what I needed. Thanks for helping me get a better understanding !
It really helps a lot to understand the mechanis of django in detail.
i've been seen many youtuber contents and typed. but that's it!
Now i truly realized this is real dope! Thank you for your awesome video.
Glad it helped!
you are really patient in explaining. great job
Thanks for you videos. This ones really benefit to me personally and to others. I have started watched your videos recently and have found many things, that help me learning django and got new knowladge and expiriense.
The best explenation one can find out there! Marvelous
Grate content, delivery by my favourite TH-cam tutor.
Thanks a lot sir
So nice of you, thank you!
Best and clearest explanations I've seen thus far on Django. Thank you!
such a wonderful video when u go through the documentation it drives u crazy but if u watch his videos the concepts get straight and clear into heads thank u so much sir plz keep up the good work
Yeah, its not easy that is for sure. Thanks for watching 👍
You are the best django teacher I have seen so far. Thanks for this amazing videos. And yes, you do make total sense of coding. Love form Bangladesh man
Subscribed. Well explained. Something that's beyond basic. Solid gold.
Thank you for this series, it's very well explained and really shows how CBV work behind the scenes. Very useful for one trying to switch from FBV! :)
Your approach is wonderfully lucid and everything immediately makes sense! Thank you so much!
great content, I am used to function views, this really made me understand the class-based views
Glad it was helpful!
this video is pure GOLD!!!!
It is definitely ''making sense'
Thanks for help, sir!
Great videos , I didn't thought about this in that details. Really insightful.
Thanks Budhathoki, keeps me motivated all your great comments. Thank you!
excellent explanation.... keep up the good work Zander....
Thanks, will do!
you really helped me to understand this, thanks for your content.
Glad to hear it! Thank you!
Great video, fairly detailed and easy to understand, thanks mate.
No problem 👍
This is so detailed and very informative.. Already subscribed. :)
Awesome, thank you! Welcome! promise next one very soon!
I love this series so much
This is a really amazing video perfectly explained 👌
Really nice video. Thanks for making it. The one thing that was mildly confusing was that the database table was named Post. For a moment I thought you referring to the POST method.
Your explanations are perfect ❤️
Outstanding tutorial! Thank you for making these!
Thank you so much for this explanation.
Just love it bro keep uploading django tourtail
Thank you - more to come of course!
Surely a great start gonna learn a lot. Would really love to learn unit testing in django
Great video. Very helpful. Thanks!
Glad it was helpful!
super useful, thank you !
I like your videos , thank you.
Amazing content, thank you so much for sharing knowledge!
Thanks for the tutorial!
No problem!
Very nice explanation!!
Glad you liked it!
Fantastic video. Thank you 👏
thank you very much sir for sharing your knowledge
Thx for the high-quality content.
Thanks Dodokwak, things will get slowly better and better!
thaaaank you you are the best please keeep uploading more videos aboute django ❤👏👏👏👌
New DRF series coming out today - it won’t stop - we have hardly scratched the surface! Saying that I do need to diversify a little. Apart from Django what would you be interested in?
Do you have a video explaining function-based views? It would help to get a better understanding of the concept by comparing class-based and function-based views with each other.
Me: I need an indepth tutorial for CBV so that I finally get my head around it. Google Answers: Very Academy. Recommendation: Spend the time. Worth a lot. But be patient if your a newbie like me.
Nice. Quite helpful. Thanks.
Always great content
thank you so much for sharing your knowledge. On 1.75x is perfect for me :)
Great content!
👍
Well explained! But how do we make use/call some of the properties within the super class. The documentation doesn’t show those examples. They only mention it
from django.views.generic import TemplateView
class MyView(TemplateView):
template_name = 'my_template.html'
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
context['extra_data'] = 'Some additional data'
return context
This is really helpful !! thanks
Great 👍 introduction. But I will need more explanations on how to manipulate methods and when to
can i get the link to these slides ?
Do you think you could make the same serie for the classed based views of DjangoRestFramework one day?
Awesome video, Thank u
Thank you too!
Thank you ❤️
You’re welcome 😊
Hey VA, thanks a lot for these tutorials. I am still wondering how do you know which attributes and classes you need to use when. For me at least, it would be helpful if you could show how you decide which to use from the docs. Thanks!
Noted. This is a good idea for a tutorial - thank you! Added to my list.
Very nice explanation. I love it. I hope you can do a video on Multi User authentication e.g. Student, Teacher etc. using Django allauth and Custom User inheriting from AbstractUser. I can not find any good tutorial or explanations.
Got it coming - big setup time for this - so give me a bit of time.
very helpful thanks!
Great video Thank you for sharing your knowledge. i just want to know why you imported TemplateView from django.views.generic in the urls.py but you imported it from django.views.generic .base inside the views file.
Hi fun code, my apologies for the lack of consistency, I hadn't even noticed - I had no motive or reason to do that other than we now know both approaches can be used. Thank you for watching, hopefully this answers your question - if not please let me know.
I am just about to purchase one of your courses on Udemy. - You cover swaths of Django material that is not easy to find. - especially on the intermediate level...
Excellent!
Sir please, do you I don't know how to store shape files from frontend to back-end in Django. Can you help
Thanks for the tutorial! One question, where is the extra_context attribute coming from?
Really good. Can u give an example of attribute 'response_class' . Thank you
excellent.
Many many thanks
Thank you a lot!!
Perfect sir
this is great video
Glad you think so! Thank you!
@@veryacademy I am new to Django and this serie of videos really helped me to clarify questions. If you have any other videos over Udemy or any other platform, I am willing to get enrolled.
Hi Antonio, sorry, at the moment we are just on TH-cam, everything is slowly building towards Udemy - suppose I am just testing the waters here and trying to get better at delivering content. But even then just ask and if I can I will give you a code - no need to pay. 👍
Thank you!
You're welcome!
Sp helpfull thanks
Excellent. Looking more...
Thank you 🙂
Thank you.
Can we handle the post request in the Template View..
Like If I want to receive a form data in it, How do I do that?
i am getting problem in running ex2 why so?
its not running like in ex1
Errrm no idea mate sorry you will need to at least provide an error code!
@@veryacademy yahhh after that i Had done again from the begining of the template view and then it started to run
And tq so much for th e guidance for a new learner like me with the detailed information
It is sinking IN! Trust me
cool video)
Awesome 👍😀
Thank you! Cheers!
thanx man
what does super() do - passes whatever kwargs were sent in the original request ?
answer from previous question below:
"Regarding Super - essentially, the super function can be used to gain access to inherited methods - from a parent or sibling class - that has been overwritten in a class object. So Super allows us access to over-write or add to a class. So we are using class based views - generic pre-written code from Django. It doesnt always do what we want it to do so using Super() we can have the ability to add or over-write the class to make it do what we want. I purposely left that out and explained it in a later tutorial. What can be concluded in my mind is that this series needs a basic understanding of OOP - which am now thinking about adding to the start of this series to support those who may have no experience with OOP (object-orientated programming)."
th-cam.com/video/5EfrKhdebKI/w-d-xo.html
Good content 😊 👍
Thank you 👍
what is super() and what is ***kwargs ?
Hi Bishal, keeping it brief - we use super function can be used to gain access to inherited methods - remember class based views inherit from other classes - sometimes we want to make changes to the default settings. kwargs - there are some good videos on youtube - but in short **kwargs allows you to handle named arguments that you have not defined in advance. So like in example I have given we can loosely put - store data in kwargs and use it in our functions
Thank you for your time
Hey I really like your channel SO MUCH. However as much as I want to keep this channel secret for myself I know that the things I'm about to say would actually help you grow. So first, you should try and get an intro at some point (This is the least important). Second, a lot of people associate the default theme as boring to view. "I know it's silly" but you should get a more vibrant theme up there for the viewers such as sublime or atom theme etc. Lastly, you should speed up the video before producing it by 5%-10%. People aren't good at tuning in for long they even do this on the radio and shorten the songs too (I'm sure you're aware). I'm okay with everything however I know those things would help if you're interested in that. Anyways thanks again for your videos!
Hi Kevin, thank you, I really do appreciate any feedback or thoughts on how to improve things around here. It really is a mission of mine to better define online learning practices for education. So this is great feedback back. In addition to this and that and everything else - I have been developing an algorithm to detect characteristics to assess online video tutorials. The aim is to to scan video to discover and explore characteristics and trends in videos to determine best practices for online tutorials.
But saying that - the best feedback is always going to be from just asking. So again, I really do appreciate you given up time to make a suggestion. One of the biggest issues for teachers is that they don't take feedback, they get old and don't evolve over time. Moving from the classroom to online has been a big education for me over the last few months I have started this channel. I have actually yet to produce a tutorial I could say I like. Everything is work in progress.
Ok - I will stop there 😁 please keep the ideas and suggestions flowing - I cant do this without valuable and constructive feedback like yours. 👍
@@veryacademy No feel free to vent! Yeah I'm scared to say anything that might be considered bad advice but I feel confident in those things as they're pretty obvious already. Other than that you're a good teacher and that makes sense to hear that you were one. I think the biggest problem experienced people make is skimming over what seems to be extremely obvious stuff but forgetting how complex it seemed however many years ago when you first started. Your style seems to break things down well, almost into simplest form as you explain one thing to another and how they work and their connection etc. So just keep doing your thing. The road from 0 to 15k will probably be slower than 16k - 50k. So just give it time but trust me when I say this channel has potential.
Thanks again.
Subscribed
I watched the entire video but still don't get the benefit of using class view. I guess the comments who wrote great awesome ect. are from those who already know a lot more here. It could be great if you could compare with a function based view and so we could see why we would bother to use this class based thing. Also the get_context_data could be explained in detail. what is super() doing there ect. I am very confused. But this is not surprise since I have watched all the videos on the topic and still doesn't make sense to me without any examples. Some videos are pure theory and some are pure fast code typing. Difficult ones like this requires more in depth explanation with couple of examples and comparisons. Maybe several videos.
Hi James, thank you for the open and honest review, it is really helpful to get this type of feedback to help direct and improve tutorials offered here. The difficulty with any educational setting online is that it is impossible to create a tutorial for all types of learner abilities, this is a middle of the road type of information giving tutorial where you would expect to have a general understanding of what a class is, in general programming terms. So, to go through your comment, the video was not aimed at trying to inform you of the benefit of using a class view. Django offers two approaches, this being on of them. Using classes or functions can ultimately just come down to preference. What one person might see as a strength, another will view as a weakness or unsuitable - this is what I enjoy about the industry - everyone has different ideas and methods to perform what ends up as the same result. In some cases, security or performance might prevent or direct you to using certain approach. To try and answer the benefit of class views - at least generic class views here. Django has pre-written classes that perform common functionality, so the benefit is that - you don't need to write the whole class/function - you just use pre-written code that does the job - very time efficient. I did not provide a comparison because all we would be comparing is similar lines of code except a generic class would have 3 lines of code (the rest is abstracted in the classes built in) and a function you would see many more lines of code in the view. They both would do the same thing. That would be an initial thought. Secondly - the benefit of classes are what classes offer - this you would need to understand OOP fundamentals. The main take home here is that, Django offers an existing code base (generic views) that we can use to quickly prototype or build application. Interesting that you are not the only person to mention context data. This is simply just additional data we want to send to template. So we package additional data into the context to pass to the template. Regarding Super - essentially, the super function can be used to gain access to inherited methods - from a parent or sibling class - that has been overwritten in a class object. So Super allows us access to over-write or add to a class. So we are using class based views - generic pre-written code from Django. It doesnt always do what we want it to do so using Super() we can have the ability to add or over-write the class to make it do what we want. I purposely left that out and explained it in a later tutorial. What can be concluded in my mind is that this series needs a basic understanding of OOP - which am now thinking about adding to the start of this series to support those who may have no experience with OOP (object-orientated programming). Thank you again - any more questions please just ask. Any other suggestions or guidance for future tutorials that you think would be beneficial would be most welcomed. You can PM me on the veryacademy Facebook page if you wanted to share any ideas for tutorials, if you prefer.
Wow, this has got to be highest like:dislike ratio
When I get around to it next year I am keen to make a better version of this from start to end. I have been overwhelmed by the kindness! Thank you.
@@veryacademy You are welcome, my good man!
According to our Sanatana Dharma, Your unselfish karma will not go unrewarded and will fetch you in this Janma and in your reincarnations too.
❤❤❤❤
Ok if you ask me, if you're not dealing with database, class based views are garbage. sorry but thats how i feel.
👍
Hi Very Academy, why are we doing super().get_context_data(**kwargs) and also what is being passed as keyword arguments here to the parent class?
Thank you!
You're welcome!
Thank you!
You're welcome!