Django bindings with a custom grid class and data model class