Have you ever tried Rails? I think that Django's approach on those is an adaptation from it.
Of course, ActiveRecord back in 2005.