The Real Python Podcast cover image

Coding With namedtuple & Python's Dynamic Superpowers

The Real Python Podcast

00:00

Is There a Meta Generator in Python?

Django has a tool in it that allows you to sort of manipulate the database. You can just quickly create an admin class, and it automatically generates a web page for me. So I wrote some code that is a meta generator of that class. It means you don't have to write what would be 10 or 20 lines of boilerplate over and over again inside of the admin class. This is the kind of dynamacity, I'm making words up now, that that Luke's kind of talking about in the article.

Transcript
Play full episode

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