No video

Easily Convert Django Function Based Views To Class Based Views

A quick tutorial on converting function based views to class based views with Django.
Check out my Python Django course: dub.sh/fveSpaB
Full Article: dev.to/dennisivy11/easily-con...

Пікірлер: 56

  • @DennisIvy
    @DennisIvy13 күн бұрын

    Don't forget to check out my Complete Django course: dub.sh/fveSpaB

  • @abhishekomprakash4074
    @abhishekomprakash407411 ай бұрын

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

  • @pythoniste3289
    @pythoniste32892 жыл бұрын

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

  • @perschonca
    @perschonca2 жыл бұрын

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

  • @Noritoshi-r8m
    @Noritoshi-r8m2 жыл бұрын

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

  • @CodeWithClinton
    @CodeWithClinton2 жыл бұрын

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

  • @codedjango
    @codedjango2 жыл бұрын

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

  • @bibekjoshi34
    @bibekjoshi342 жыл бұрын

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

  • @anubhavgupta7155
    @anubhavgupta71552 жыл бұрын

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

  • @MrSubramanish
    @MrSubramanish10 ай бұрын

    im a fan of your tutorials

  • @francescociulla
    @francescociulla2 жыл бұрын

    thanks for sharing Dennis 🔥

  • @mircagardenman7629
    @mircagardenman76292 жыл бұрын

    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 🙂.

  • @codesnippets5235
    @codesnippets52352 жыл бұрын

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

  • @djangodeveloper07
    @djangodeveloper072 жыл бұрын

    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.

  • @abbysands9510

    @abbysands9510

    Жыл бұрын

    Personally, I hate CBV and most developers I know hate it as well, why? because it is hard to troubleshoot errors. I prefer function based views it gives better control of the underlying system.

  • @djangodeveloper07

    @djangodeveloper07

    Жыл бұрын

    @@abbysands9510 FBV is mess for me to review code. if you know how to use class base views properly. it gives more functionality and stability then FBV.

  • @oumardicko5593
    @oumardicko55932 жыл бұрын

    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.

  • @ameyapotdar461
    @ameyapotdar4612 жыл бұрын

    great video as always dennis!

  • @ajaykryadav
    @ajaykryadav Жыл бұрын

    Too good explanation

  • @NgazetungueMuheue
    @NgazetungueMuheue2 жыл бұрын

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

  • @tonymudau3005
    @tonymudau30052 жыл бұрын

    Nice and easy 🙏

  • @Colstonewall
    @Colstonewall2 жыл бұрын

    Damn I love Django. I miss it.

  • @kudamasangomai
    @kudamasangomai2 жыл бұрын

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

  • @samucancld
    @samucancld2 жыл бұрын

    CBV's are pretty awesome

  • @ajaykryadav
    @ajaykryadav Жыл бұрын

    Too good

  • @ezrahel
    @ezrahel2 жыл бұрын

    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?

  • @koreckie4967
    @koreckie49672 жыл бұрын

    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.

  • @aliabdalgader173
    @aliabdalgader173 Жыл бұрын

    My hero ❤

  • @MOI-su4lx
    @MOI-su4lx2 жыл бұрын

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

  • @unaibekovbakhyt6517
    @unaibekovbakhyt65172 жыл бұрын

    Thanks

  • @normal8852
    @normal88522 жыл бұрын

    thanks man.

  • @MrSubramanish
    @MrSubramanish10 ай бұрын

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

  • @maciekwojdyna2271
    @maciekwojdyna227111 ай бұрын

    is it better to use class based views more than function based?

  • @Dickens69420
    @Dickens694202 жыл бұрын

    Is function based views better for a bigger project??

  • @dasunsamarakoon2824

    @dasunsamarakoon2824

    2 жыл бұрын

    I think class based views good for bigger projects

  • @Boris_Belomor

    @Boris_Belomor

    Жыл бұрын

    In my opinion, class based views is better for bigger projects, because you can reuse parts of your code by inheriting multiple similar view classes from a single class in your core app.

  • @hamayoonyousafi555ATgmail
    @hamayoonyousafi555ATgmail Жыл бұрын

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

  • @ipypypy
    @ipypypy Жыл бұрын

    why you are not use delete method of View class for delete records?

  • @xtiandyc7034
    @xtiandyc7034 Жыл бұрын

    Hi Dennis! I just want to ask if HTMX is worth to study ? If yes, could you make a tutorial on it with Django. Thanks!

  • @uditsinghshishodia6516

    @uditsinghshishodia6516

    Жыл бұрын

    learn JS more powerful and opens your doorway to other framework like react and node.

  • @waynemwandi6522
    @waynemwandi65223 ай бұрын

    *where have you been all my life* 🎵🎵

  • @DennisIvy

    @DennisIvy

    3 ай бұрын

    🤣

  • @fahadhossien9788
    @fahadhossien97882 жыл бұрын

    ❤❤❤

  • @KunalVerma-gi3pq
    @KunalVerma-gi3pq Жыл бұрын

    theme?

  • @ishfaqahmad400
    @ishfaqahmad400 Жыл бұрын

    Name the font which you are using in Vscode please 🙏 🙏 🙏

  • @amaangigani9372
    @amaangigani93722 жыл бұрын

    Now make a new video about making it a bit more complicated. Slowly slowly make it a series

  • @alejandrobravo1221
    @alejandrobravo12212 жыл бұрын

    What is vscode theme?

  • @vinothraj8473
    @vinothraj84732 жыл бұрын

    Sir Can you show me how to connect django and mongodb...

  • @DennisIvy

    @DennisIvy

    2 жыл бұрын

    Keep in mind that mongo db won’t work with Djangos ORM. If you want to connect it then you will have to do it manually and will lose a lot of Djangos features.

  • @infohub3709
    @infohub37092 жыл бұрын

    Hi Dennis. You don't respond to questions on your Udemy course. Why?

  • @noorzaibchohan1200
    @noorzaibchohan12004 ай бұрын

    Dennis and Django are the same thing.

  • @alejandrobravo1221
    @alejandrobravo12212 жыл бұрын

    Name theme?

  • @abhijithkr4487
    @abhijithkr44872 жыл бұрын

    👍

  • @christianjamesguevarra6257
    @christianjamesguevarra6257 Жыл бұрын

    React: How to convert class-based components to function-based components Django: How to convert function-based views to class-based views

  • @niteshswarnakar
    @niteshswarnakar2 жыл бұрын

    First comment 👌

  • @arslanraza8964
    @arslanraza8964 Жыл бұрын

    Grate