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

Показать описание
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:
#Python
SOURCE CODE:
SUBSCRIBE:
Please donate to this channel
FOLLOW ME:
GITHUB:
TWITTER:
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
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:
#Python
SOURCE CODE:
SUBSCRIBE:
Please donate to this channel
FOLLOW ME:
GITHUB:
TWITTER:
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