Open smtheard opened 7 years ago
I think you're calling the class method there, not the instance method.
@keredson I think that's what happening too but it was pretty unexpected, seems like an instance method should be there (or maybe throw an exception so it doesn't call the model function?)
Yeah I agree with that.
On Nov 18, 2016 6:40 PM, "Stefan Theard" notifications@github.com wrote:
@keredson https://github.com/keredson I think that's what happening too but it was pretty unexpected, seems like an instance method should be there (or maybe throw an exception so it doesn't call the model function?)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/keredson/peewee/issues/10#issuecomment-261678218, or mute the thread https://github.com/notifications/unsubscribe-auth/AB9GgSvXy7nLcEQEqWJ-4DlDLYQdB5rPks5q_kVfgaJpZM4K278a .
eg.