add basic Django integration

* Additionally adds support for layered contexts