Back to Browse

Python Django Basics for Absolute Beginners #14 Introduction to Class Based VIews In Django

313 views
Mar 11, 2022
24:29

In this video, we look at class based views in Django and how we can them as an alternative to function based views. By utilizing inheritance, we may arrange your views and reuse code. There are some generic views for jobs that are beyond the scope of this video, but you may wish to create your own reusable view structure that meets your needs. In this video, I walk through the basics involved in using class based views over function based views. LEARN MORE: https://docs.djangoproject.com/en/4.0/topics/class-based-views/ #Python SOURCE CODE: https://github.com/jod35/django_course_for_beginners.git SUBSCRIBE: https://www.youtube.com/c/SsaliJonathan?sub_confirmation=1 Please donate to this channel https://www.buymeacoffee.com/jod35 FOLLOW ME: GITHUB: https://github.com/jod35 TWITTER: https://twitter.com/jod35_ CHAPTERS: 00:00 Introduction 0:36 Creating a class based view 3:24 Mapping class based views to URLs 4:37 Creating view attributes 5:51 View Inheritacnce 08:05 Inmplemeting HTTP the variuous methods 10:12 Form handling 16:55 Working with decorators 24:07 Wrapping Up

Download

0 formats

No download links available.

Python Django Basics for Absolute Beginners #14 Introduction to Class Based VIews In Django | NatokHD