I never Meta model I didn't like...
summary
Explains Django 1.8 stabilizing the Meta interface into just get_field and get_fields and field attributes that reveal cardinality and concreteness; shows Daniel Pyrathon’s django-mailer as a working proof (about 500 lines of glue) that exposes Gmail via managers, querysets and a Meta duck so admin and forms work; notes a few small core patches are required, reports it actually works as a proof‑of‑concept and enables metaducks for MongoDB, LDAP, SQLAlchemy, etc.
AI-written summary · about
chapters (8)
- 0:00Start
- 1:58Metaprogramming Python
- 6:41The Old Meta API
- 8:04The New Meta API
- 12:12Adding quotes
- 13:01Metaprograming merge
- 18:25Managers
- 18:52Queries and QuerySets
related talks
48mEvolving Django: What We Learned by Integrating MongoDB
24mMighty Model Managers
43mDigging Into Django's Migrations
01h 06mEffective Django
31mDjango for life (sciences)
27mORM: The Sequel
24mEvolving Django: What We Learned
24mDjango as a Database Documentation Tool: The Hidden Power... with Ryan Cheley
