Django Chat cover image

Django the Good Parts - James Bennett

Django Chat

00:00

Django's Class-Based Views

I like class-based views. I think Django's built-in ones could have been done differently, but in general I'm a fan of them. Carlton: They give you a namespace to break your logic up in. But if we taught a class with a get handler and then you declare your view, then it's exactly the same as a function-based view at that point. It's just got a bit more structure if you need to break it up.

Play episode from 36:41
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app