Python OOP for Django Class Based Views Explained - Beginners guide to OOP and using Django Classes
Автор: Very Academy
Загружено: 2020-10-29
Просмотров: 22376
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:91 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-Dja...
✨ Support us - join us as a very academy member
/ @veryacademy
👍SUBSCRIBE to get more free tutorials, courses and code snippets!
/ @veryacademy
👍👍Follow us on Facebook
/ veryacademycom-113232103670580
👍👍👍Follow use on Twitter:
/ veryacademy
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: