A head first guide to metaclasses in Python. The presentation will show you how metaclasses work, how they affect attribute resolution and few potential usecases for them. At the end you'll have a pretty good idea of how Django models and other metaclass (ab)using libraries work.
HTML5 version: http://blog.ionelmc.ro/presentations/metaclase/
Presented at: http://conference.ropython.org/