Learn basics of Python Object-Oriented-Programming & Django Class Based Views at the same time. This is a beginners guide to OOP and Django’s Class Based Views. Python OOP Principles, Class, Attributes, Inheritance, methods, instantiation. Then we turn to Django to learn in context Super(), Over-ride class methods which leads us into Mixins.
00:00 Introduction
01:58 Quick overview of codebase
03:01 Build a class
06:27 class attributes
10:58 Convert a function based view to class based view
21:16 Inheritance
26:90 Methods - init and str_
31:46 Methods continued
32:55 Self explained
36:44 Using super() over-riding methods
44:58 Example of over-riding ListView
Code Repository : https://github.com/veryacademy/YT-Django-args-kwargs
Subscribe : https://www.youtube.com/channel/UC1mxuk7tuQT2D0qTMgKji3w
#python #django