Fixed error with tbldef in model_mixin
Merge pull request #342 from lynnaloo/master

Fixed type in model_mixin causing an error in relation widget