Hey Dennis, recently in February I got a job as a Backend Python Developer and I really want to thank you for all the Django tutorials because I learnt Django from scratch from your videos... Thank you for all the knowledge ❤️
Hey Dennis, I have brushed up my django skills alot especially connecting postersql or MySQL with Aws and also using S3 to serve static files. You have also helped me alot to get rid of my imposter syndrome, I never realized I knew alot until I took some time to create some django projects . Thanks man and continue doing that awesome job and may God bless you + your fam
I've been programming in Python for 2 years now, I'm using Django in my Work, and it's great to see how you approach these kind of concepts, keep going bro !
I use both function and class based views, and i don't use class based views unless i need to use it... i think sticking with function based views is preferable and understandable
Well for me, I have been using function based views back as 2016 until 2019 when I changed to CBV and I remember it took me like 3 serious months to understand how the CBV was structured
Sure... I have to go back and review my previous projects that i developed using FBV and changed them to CBV making my backend retrieve queries faster...
Hey Dennis! I just wanna thank you for making Django Tutorial videos. You're one of the reasons why I successfuly deployed a Web-based system in my work. Keep up the good work!
As someone who is currently taking a coding bootcamp, this video is just....SOOOO right on the money. This was so helpful to me in keeping me sane. We learned function based views first and some "extra credit" was doing things in class based views and I got so lost and discouraged.
This video is so helpful. I had this confusion everytime I code and you cleared it. Also I have started creating to-do app and now I m doing modifications in it like contact forms, login form . Also I'm using modelform , bootstraps for navigation. I'm blessed to have your channel. Keep up the good work and I hope that I will learn so many things from your channel and become a good programmer. Thanks a ton Dennis!!!!!!! Also waiting for more fully-fledged projects on your channel.
Please, continue to use function base views for the sake of some of us beginners. It makes learning your tutorials easy to understand and follow. Thanks.
I started out watch your tutorials. After dozens of projects, I still prefer using function based views even for basic stuff except for things like search. I prefer having control over how my logic works as it feel more intuitive.
I learned class based as a beginner, and I can confirm it’s a lot harder to use. Now I’m glad I learned it, but for simple projects to learn Django, you’re right, function based is better.
Hi Dennis , Thanks for the ecommerce website tutorial . I made a online store for my village ! Which was 3rd build of same website because at first i was not feeling confident . But now i can make a production level django website and start my business ! Not a unique project but yeah i can start with it in my village ! And also due to your tutorials and inspiration i started freelancing and earning income 1000$ per month (₹70,000+ which is more than enough for me and my family ) ! Thanks for your efforts dennis !
Just this weekend I was refeshing this concept of going from Models to Views to Templates and it just clicked to me! As it clicked, my thought is that CBV might work for basic things and if you a rush, but FBV are more flexible and easy to use, because they are more easy to understand. Thanks for the video! I will start soon your course on Udemy so I expect a lot of FBV i suppose! hehe
I'm kinda beginner, I've used django for 3 months now, and I'm reading the doc, although it seems that class-based views is more complicated, it's more organized and makes your code DRY, but like everything, depends upon what is used for... I'm planning doing my yt channel, thanks Dennis, you're such an inspiration!
Every time I use CBV there is a feature that requires overriding methods and I spend like two hours trying to find the way and the code looks horrible. In FBV I always have to write more, but I understand things better and that can be helpful if some day I want to try out node or other framework of that type.
I think I will focus more on function-based views now. It is true that class-based views abstract a lot of important knowledge from the learner(such as myself) and so, going in manually and getting my hands dirty is a better way of understanding what's actually happening. That perspective is important indeed.
hello Dennis! I really like class base views! as a beginner this make me the job easy! I know that using classes I don't have full control.. but I don't want to re-invent the wheel, if someone (way much better than me) has doing that job for me 😅 I will use it! (time is critical for me) thank you for your videos!! cheers
Thanks for great videos. I'm watching almost all of your Django tutorials and am currently building a shopping list webapp, but I want to share my list with other users and I don't know how to do that. Can you maybe make a shopping list of webspp tutorials.
Anyways thanks for everything Dennis, just bought your course at udemy to support you and encourage to everyone that have benefit from your free tutorials and can afford it to do so. Hope you keep doing fine !
Honestly I also enjoyed FBV more because the CBV seems to be too vague because it does a lot of stuff in the background however my previous work required the CBV that's why I was forced to learn it.
Very helpful sir!, Sir now I think I am very good in Django I completed all your playlist, but now want to be good in Django Rest Framework, please make a playlist like Django for it. Seen many videos but still not able grasp very well
I usually use function based views when I don't know what I exactly wanna accomplish. I usually end up converting them into CBV in the refactor phase to keep everything clean
Function based views are more customizable, classes based views are faster, I talk from my short experience off course, I use both, anyways, thanks to your channel I became a professional Django developer
Good point this one. I do prefer class based views, so I always try to adapt it by this way. I know that my question it's out of the topic, but what do you think about handle the context in a separated file, like a presenter (a class with many methods that handles the template data) instead of doing this into the view?
Thank you Dennis providing a cool stuff for free of cost and learned so much from you ,.. and no one is showing how to render this data provided by DRF to templates , may be by using with class bassed generic views etc. is it not possbile ..or it is possible please make help me to find ou this ..
I realized by listening that experienced programmers will dive head first into the documenation until they figure things out and get a good overview of how they will do what they want to do.
Hey Dennis , You are the one who make me begin learning django and i liked it almost , so today i was planning to make a project and i got this error "Object of type QuerySet is not JSON serializable" can you help with this , Thanks :)
Can I combine both in a project? But I need to know, is there anything that CBV can do which FBV can't? Honestly, I am more comfortable with FBV because I can understand what's going on because it is more explicit
But what about if you learn FBV and than you need to use some third-party-app that is build on CBV. Then it's realy complicated to figure out how to reuse it.
Dennis, what do you say to taking Linkedin Python and Django assessment tests? Are you up for it? Would you be willing to share your experience with us? Thanks, Everyone.
cbv-s are not that difficult. it also helps to read django's code. not for complete beginners though. there is a simpler take on them called django-vanilla-views.
Dennis said that you can do anything with both, yet in my first django project I wanted to make the app automatically log in the user after creating an account, and I only found a way to do that with class based views. How could I do it with function based views?
Hey Dennis , I am following you from 2019 and i have learned Django from your playlist . And i have create a many project and i have hosted many projects also on Heroku Server . But now i get stuck at "Django-import-export" module . And i have to create a script which will take backup all the models data in excel from the models in database. So please help me to get out from this..
Hey bruv thanks for explaining as I always prefer function based views. I'm do need to ask for your help as I need to made a custom user model so that I can have certain extra fields, however I need to remove the password field from required and use otp instead. I'm unable to remove the password field so I initialized it. Anyways if there is some way to contact and ask you please tell me.
I want to make a website that has a feature like facebook group, where there is a group admin and has following, bro can you please help me, I commented on other RUclips channels too, but nobody gave a reply, I hope you'll reply
Function based views = $$$ + get stuff done + productivity + know how it works. Class based views = just programmers stroking their ego + no productivity + lost time.
I don't see any reason to recommend function based views apart from when you are an absolute begginer. In my opinion, once you know a bit more of Django you should switch to CBV. In a class you can split your code into methods and you can write mixins.
Sorry to class based view fans, but class based views are garbage if you're not dealing with querys and databases. when it comes to dynamic(live) data which you dont need to save, i prefer function based views.
If you emailed me I'm not sure when I can get to it, I've been flooded with emails and projects so I'm several weeks behind on checking all of that, sorry. If its for technical support I don't have the luxury of helping people one on one anymore :/ Hope you understand..
Don't forget to check out my Complete Django course! dub.sh/NvGboTI
Hey Dennis, recently in February I got a job as a Backend Python Developer and I really want to thank you for all the Django tutorials because I learnt Django from scratch from your videos...
Thank you for all the knowledge ❤️
Wow congratulations! Thanks for sharing that with me, it keeps me motivated :)
@@DennisIvy Thank you very much
Very good! When did you start learning?
@@Feronom Dec 2020
@@malayparmar504 and you already got a job! Wow I am both jealous and impressed. How did you get it? Just sending resume or?
I like function based views also. I feel more in control :D
Same! I thought I was only one.
same
Same
Same i feel more confortable even in my personal projects
Yeah me to
Hey Dennis, I have brushed up my django skills alot especially connecting postersql or MySQL with Aws and also using S3 to serve static files.
You have also helped me alot to get rid of my imposter syndrome, I never realized I knew alot until I took some time to create some django projects . Thanks man and continue doing that awesome job and may God bless you + your fam
I've been programming in Python for 2 years now, I'm using Django in my Work, and it's great to see how you approach these kind of concepts, keep going bro !
I use both function and class based views, and i don't use class based views unless i need to use it... i think sticking with function based views is preferable and understandable
Well for me, I have been using function based views back as 2016 until 2019 when I changed to CBV and I remember it took me like 3 serious months to understand how the CBV was structured
I definitely enjoyed classed based views when I started using them. Took me a bit to understand them also.
Sure... I have to go back and review my previous projects that i developed using FBV and changed them to CBV making my backend retrieve queries faster...
Hey Dennis! I just wanna thank you for making Django Tutorial videos. You're one of the reasons why I successfuly deployed a Web-based system in my work. Keep up the good work!
You are great instructor 🎉.I really appreciate how you understand things and explain for everyone new to codding.thank you very much Dennis.
As someone who is currently taking a coding bootcamp, this video is just....SOOOO right on the money. This was so helpful to me in keeping me sane. We learned function based views first and some "extra credit" was doing things in class based views and I got so lost and discouraged.
This video is so helpful. I had this confusion everytime I code and you cleared it. Also I have started creating to-do app and now I m doing modifications in it like contact forms, login form . Also I'm using modelform , bootstraps for navigation. I'm blessed to have your channel. Keep up the good work and I hope that I will learn so many things from your channel and become a good programmer. Thanks a ton Dennis!!!!!!! Also waiting for more fully-fledged projects on your channel.
Please, continue to use function base views for the sake of some of us beginners. It makes learning your tutorials easy to understand and follow. Thanks.
I started out watch your tutorials. After dozens of projects, I still prefer using function based views even for basic stuff except for things like search. I prefer having control over how my logic works as it feel more intuitive.
Tbh Function base views are pretty understandable and i love that And pretty easy to do stuffs!
Its like the whole control is in your hand!
Very good video Dennis! I totally agree with you on this. The "magic" you get from using CBV can be hard to understand in the beginning.
I learned class based as a beginner, and I can confirm it’s a lot harder to use. Now I’m glad I learned it, but for simple projects to learn Django, you’re right, function based is better.
Hi Dennis , Thanks for the ecommerce website tutorial . I made a online store for my village ! Which was 3rd build of same website because at first i was not feeling confident . But now i can make a production level django website and start my business ! Not a unique project but yeah i can start with it in my village ! And also due to your tutorials and inspiration i started freelancing and earning income 1000$ per month (₹70,000+ which is more than enough for me and my family ) ! Thanks for your efforts dennis !
Just this weekend I was refeshing this concept of going from Models to Views to Templates and it just clicked to me!
As it clicked, my thought is that CBV might work for basic things and if you a rush, but FBV are more flexible and easy to use, because they are more easy to understand.
Thanks for the video! I will start soon your course on Udemy so I expect a lot of FBV i suppose! hehe
I'm kinda beginner, I've used django for 3 months now, and I'm reading the doc, although it seems that class-based views is more complicated, it's more organized and makes your code DRY, but like everything, depends upon what is used for... I'm planning doing my yt channel, thanks Dennis, you're such an inspiration!
Every time I use CBV there is a feature that requires overriding methods and I spend like two hours trying to find the way and the code looks horrible. In FBV I always have to write more, but I understand things better and that can be helpful if some day I want to try out node or other framework of that type.
I had this question for a long time, this cleared 2 questions of mine! Thanks a lot Dennis!
I appreciate your teaching style
Thank you for taking this question. 😇
I think I will focus more on function-based views now. It is true that class-based views abstract a lot of important knowledge from the learner(such as myself) and so, going in manually and getting my hands dirty is a better way of understanding what's actually happening. That perspective is important indeed.
i have been working as python django fullstack web developer and thanks to @dennis ,I learned a lot from u
hello Dennis! I really like class base views! as a beginner this make me the job easy! I know that using classes I don't have full control.. but I don't want to re-invent the wheel, if someone (way much better than me) has doing that job for me 😅 I will use it! (time is critical for me) thank you for your videos!! cheers
Yeah Dennis, CBV is like a Magic Mystery, FBV is more explicit , tq for video
Hey dennis good piece of info, you obviously cant drive a car without legs, so basics are quite important
I use function based view as well. It feels like I'm the one in control. Thanks for the insight.
Would've like to see code examples of the differences and a brief explanation. Thanks for sharing though!
it would have been nice..yes
Thanks Dennis, I definitely agree🔥🔥
Yeah right. It's Good for beginner like me to understand it
thanks man! just the advice that I need
Always function based views & also function based component for React
The man is speaking straight facts
Thanks for great videos. I'm watching almost all of your Django tutorials and am currently building a shopping list webapp, but I want to share my list with other users and I don't know how to do that. Can you maybe make a shopping list of webspp tutorials.
Agree👍 me too confused that Mistry box at begging😂
Anyways thanks for everything Dennis, just bought your course at udemy to support you and encourage to everyone that have benefit from your free tutorials and can afford it to do so. Hope you keep doing fine !
Honestly I also enjoyed FBV more because the CBV seems to be too vague because it does a lot of stuff in the background however my previous work required the CBV that's why I was forced to learn it.
Very helpful sir!, Sir now I think I am very good in Django I completed all your playlist, but now want to be good in Django Rest Framework, please make a playlist like Django for it. Seen many videos but still not able grasp very well
Great Explanation!
I usually use function based views when I don't know what I exactly wanna accomplish. I usually end up converting them into CBV in the refactor phase to keep everything clean
Function based views are more customizable, classes based views are faster, I talk from my short experience off course, I use both, anyways, thanks to your channel I became a professional Django developer
In that case, can we have a class-based views tutorial?
Yes I prefer fbv. It's the same in React, I prefer functional components
Can you make a video about rest api , which type of view we use and multiple serialiser and queryset
Good point this one. I do prefer class based views, so I always try to adapt it by this way.
I know that my question it's out of the topic, but what do you think about handle the context in a separated file, like a presenter (a class with many methods that handles the template data) instead of doing this into the view?
Thank you Dennis providing a cool stuff for free of cost and learned so much from you ,.. and no one is showing how to render this data provided by DRF to templates , may be by using with class bassed generic views etc. is it not possbile ..or it is possible please make help me to find ou this ..
Hey Dennis, first of all thanks a lot for your great videos. Could you make a social media type project please?
Working on one now :)
I realized by listening that experienced programmers will dive head first into the documenation until they figure things out and get a good overview of how they will do what they want to do.
Hey Dennis , You are the one who make me begin learning django and i liked it almost , so today i was planning to make a project and i got this error "Object of type QuerySet is not JSON serializable" can you help with this , Thanks :)
Hey dennis, make some tutorials on react js for complete beginners please. ❤️
Can I combine both in a project? But I need to know, is there anything that CBV can do which FBV can't?
Honestly, I am more comfortable with FBV because I can understand what's going on because it is more explicit
I worked in fairly large companies and in government. CBV are the norms. Otherwise, your Pull/Merge request will be returned back.
are class based views more powerful than function based views ??? (I'm talking about runtime)
Django rest framework is little bit confusing. If you make a course on it many people including me would like to purchase it
I feel class based view is more organized and function based view is simple and has more control
People who use both: *LAUGHS IN SUPERIORITY*
Hi Dennis , Is it ok to use both views in the same proyect?
Yes of course.
But what about if you learn FBV and than you need to use some third-party-app that is build on CBV. Then it's realy complicated to figure out how to reuse it.
what kind of notification have u use for django project such as ecommerce when customer check the product out?
Can you create Django Rest API + reactjs From the base Full tutorial
Dennis, what do you say to taking Linkedin Python and Django assessment tests? Are you up for it? Would you be willing to share your experience with us?
Thanks,
Everyone.
does function based views make the code slower ??? rather than class s based views?
Too good
How to handle image filed in function-based view to create user profile api with profile image
cbv-s are not that difficult. it also helps to read django's code. not for complete beginners though. there is a simpler take on them called django-vanilla-views.
Dennis said that you can do anything with both, yet in my first django project I wanted to make the app automatically log in the user after creating an account, and I only found a way to do that with class based views. How could I do it with function based views?
Call the login function and redirect the user. I do this in my Django 2021 course, you can look at the source code if you didn’t purchase the course
Me too like FBV to CBV
I stick with function based views. I kinda feel them more.
Nice
Is it very hard to change an app from function based to class based views later on or not recommended? I mean a small sized app.
Function based views: for amateurs and the experienced
Class based views: for the experienced
🤣
STRONGLY disagree
I wonder which of the two statements you disagree with?
Hey Dennis , I am following you from 2019 and i have learned Django from your playlist . And i have create a many project and i have hosted many projects also on Heroku Server .
But now i get stuck at "Django-import-export" module . And i have to create a script which will take backup all the models data in excel from the models in database.
So please help me to get out from this..
Can't agree more...
Hey bruv thanks for explaining as I always prefer function based views. I'm do need to ask for your help as I need to made a custom user model so that I can have certain extra fields, however I need to remove the password field from required and use otp instead. I'm unable to remove the password field so I initialized it. Anyways if there is some way to contact and ask you please tell me.
Does not function Based Views make you repeat code (DRY ?)
40 K - sounds good. I had one worth $1,500. I should have sold it.
Is the code of your Django and React course public?
I like function based view.... But my lead prefer classbased view....
Meanwhile I’m here, just built a membership web app with vanilla PHP. I feel a bit inadequate 😂
We only remember things that we can reason with. If class based view remains black box, chances are, they wont stay in our brains for long.
I think for beginners class based view is better
Hi dennis..!
I want to make a website that has a feature like facebook group, where there is a group admin and has following, bro can you please help me, I commented on other RUclips channels too, but nobody gave a reply, I hope you'll reply
I want to learn Django.
You've come to the right place ;)
Vote For Function-Based Views
LightWeightsProjects = "function based views"
HeavyWeightsProjects = " class based views "
on class based view i didn't understand how to make multiple model in one views.
First view first comment
well, just mix between FBV and CBV in the same file. lol
You look beautiful.
Function based view is better than class based your opinion
I don’t think they are better, I just recommend to start with them.
@@DennisIvywhich you use FBV or CBV?
40k$ ?
Function based views = $$$ + get stuff done + productivity + know how it works. Class based views = just programmers stroking their ego + no productivity + lost time.
class based views only make your code look short period
I don't see any reason to recommend function based views apart from when you are an absolute begginer.
In my opinion, once you know a bit more of Django you should switch to CBV.
In a class you can split your code into methods and you can write mixins.
sup man
Sorry to class based view fans, but class based views are garbage if you're not dealing with querys and databases. when it comes to dynamic(live) data which you dont need to save, i prefer function based views.
You’re definitely wrong there lol there is nothing that makes making queries with class based views difficult.
Dennis please I contacted you😭
If you emailed me I'm not sure when I can get to it, I've been flooded with emails and projects so I'm several weeks behind on checking all of that, sorry.
If its for technical support I don't have the luxury of helping people one on one anymore :/
Hope you understand..
@@DennisIvy No problem!!! Thank you Anyways!! And keep up the good work👏🏼