Class based generic DetailView tries to access non-existant _meta field when get_object has been modified to return a ModelForm
|Reported by:||sholland@…||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I used DetailView and subclassed it, then modified get_object to return a ModelForm instance. The bug and a workaround is described at http://stackoverflow.com/q/6564068/820321
A workaround is noted. I'd offer a patch, but don't fully understand the fields that are expected. I'd be happy to help make up a patch.