Django Chat cover image

Django Unicorn - Adam Hill

Django Chat

00:00

Django FBV for a Function Based View

Django FBV is a library that provides some of the niceties of class based views, but still stay in the function based view world. It's just a decorator that you put on top of a function base view and you can return a dictionary from it instead of render to response or whatever. So I have the same thing as just a function inside of my library. And then for the Ajax one, it would do something very similar,. Just render JSON response and it would take that dictionary and pass it back. That seems to be sort of shaded apart? Yeah. Could the example there is when you're talking about passing in at key works, keyword, ogs to

Play episode from 44:49
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