Python OOP for Django Class Based Views Explained - Beginners guide to OOP and using Django Classes

preview_player
Показать описание
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

✨ Support us - join us as a very academy member

👍SUBSCRIBE to get more free tutorials, courses and code snippets!

👍👍Follow us on Facebook

👍👍👍Follow use on Twitter:
Рекомендации по теме
Комментарии
Автор

You know its a tough topic when you find only a few channel that talks about django CBV, thanks for the knowledge sharing

rexsybimatrimawahyu
Автор

Hands down the best Python video’s on YouTube. Thank you for that!

xq_nemesis
Автор

Show me that genius who are doing these videos. It's amazing!!

anthonyvetrenko
Автор

finding this channel feels like discovering gold

cyrusjomo
Автор

Thank you very much, this make my OOP is more solid than before

bomaanjang
Автор

I saw your video link on django Facebook group. They recommended your channel. Congratulations 🎊🎉👏

rangabharath
Автор

Best content and best lectures I have seen on Youtube on Django/Pyhton

saisandeeppalla
Автор

The best and ultimate oop python Django classes explanation. Hats off to you

SaifUlislam-zqqn
Автор

Thank you, boss...you are amazing master

yousefiazkco
Автор

just got what i needed. love from nepal

saugatrajbhandari
Автор

Very helpful indeed; specifically I liked the examples which ver sufficiently easy to understand the context behind. Thank you, great job!

rudigerheicappell
Автор

Thank you very much for such good content

ValeriiTodua
Автор

sir u should actually have 1.1 million subs sir

nihaanthreddy
Автор

Great timing! Just what I need. Thanks!

Chocolanay
Автор

Thank you so much! Really nice django content and very healpful!

Rob-cqnf
Автор

Really really helpful. The super explanation was really good. The last part, where u gave an example of over riding both with and without super was so so helpful for making things clear. Thanks a lot for this. Keep it up man!

alpstinger
Автор

Just wanted to bring a typo in the description to your attention: in the list of timestamps, you probably didn't mean to say "26:90" ;) I haven't watched the video yet but I trust that it's gonna be great!

samuelebonini
Автор

Good video, really good explanation of inheritance. I am still confused about super(), but I will just read about it on my own. Still confused about "accessing blocks of code with super" concept.I was told that if i'm not sure to do:

class MyClass(ParentClass)
def __init__(self, parent):
ParentClass.__init__(self)

How good is this suggestion?

afaf
Автор

Does the subscription offer other in-depth django tutorials?

ramiroramos
Автор

please Sir i have a question
I want to get my individual categories to display on a page, for example i have categories of : sport, Technology and Health, when the sport page is clicked on let post with that SPORT category display on the sport page and so unto others. Please how an i be able to do it, a tip may do . Thanks
Am using class based Views

ikechukwuezechimere