Easily Convert Django Function Based Views To Class Based Views

preview_player
Показать описание
A quick tutorial on converting function based views to class based views with Django.

Рекомендации по теме
Комментарии
Автор

Wake up babe! Dennis dropped a new Django video let's goooo

pythoniste
Автор

Concise and to the point for starting with CBV. Thanks for the video 🙂

abhishekomprakash
Автор

enjoy all your stuff dennis. hopefully i'll be a dev soon enough!

perschonca
Автор

Oh just in time, i was going to learn Class based views this week. Ty sir!!

Noritoshi-rm
Автор

Back to back videos on Django on this channel from the last couple of amazzzzing :)

codedjango
Автор

Thanks 👍 brother ... hope to see daily videos from you

bibekjoshi
Автор

damn! Never knew it was so easy to convert from FBV to CBV. Would love to watch a detailed video about CBV aswell!

anubhavgupta
Автор

Thank you so much Dennis for this quick tutorial. 🙏💙

CodeWithClinton
Автор

great video. i am using cbv from the beginning, it's clean and easy. you just need a little bit focus for using CBV. prepare a sample code for class base view with having get, post, get_queryset and context. copy that code modify it according to your need. this thing can be easily done in Generics View class.

djangodeveloper
Автор

greate video. if i had to work with django, i'll use mostly function based view because i think class based views are way too verbose in my opinion and not to forget that with all the magic django does under the scene, good luck when trying to do custom operations. I would only use class based views when dealing with forms. Instead of creating two separate functions or create a single function and check for the method (get or post) you can encapsulate all the code in a single class and have something cleaner.

oumardicko
Автор

felt in love with CBV as a beginner and now find it hard to use FBV lol funny. though CBV are complex sometimes

kudamasangomai
Автор

Hello Dennis, Very easy Could you perhaps combine Django and htmx in your upcoming videos?

NgazetungueMuheue
Автор

Shout out Dennis. Thank you for the content... its very helpful. Just a quick request. Please add some more calculation, addition / Subtract from the frontend / backend on django. Similar to your Ecommence content, but math focused 🙂.

mircagardenman
Автор

hello Dennis👋, its always nice watching your tutorials. can you do a tutorial on converting your e-commerce app to a rest api?

codesnippets
Автор

Hello, should I enroll in Dennis's courses on Udemy in 2023? Will I face any issues the courses being updated long ago?

gfhfrib
Автор

Is function based views better for a bigger project??

Dickens
Автор

did Django has a way to render without refreshing page like ajax

MrSubramanish
Автор

Dennis can you do a tutorial based on login and logout and authentication on rest framework, it will be very helpful...

MOI-sulx
Автор

Hi, when should I use django signals? I watched one of your videos about signals and I was thought that you could make the same thing just by adding a profile for a user in the registration page that takes 2 lines of code. Pls answer. Thanks.

koreckie
Автор

In your studyBud video, you used if request.method == 'POST' throughout the video, is there any difference between the 'POST' and GET you used in this new video?


Or rather, what is the difference between GET request and POST request?

ezrahel
welcome to shbcf.ru