stephenmcd/mezzanine — pull request #702 by jasonwooong (2013-06-19 22:41:43+00:00)
Title: Fix: Middleware and custom Page models

Mezzanine middleware for the Page model inserts the page into the template context. However, custom content model types that inherit from the Page model are not accessible as only the parent model is passed.

This change explicitly passes the Page subclass into context so any custom properties / fields of that content type is accessible in the template.