Jacob Kaplan-Moss

📌 techspot.zzzeek.org » Blog Archive » Polymorphic Associations with SQLAlchemy

A good explanation of the underlying SQL behind polymorphic associations. This is how Django does so-called “generic relations” (through a centralized content-types table instead of the address_associations table here).