Add __int__ to Model
It can be useful to support int(record) in proteus because it allow to use an instance or an id in the code by just calling int on it.
It can be useful to support int(record) in proteus because it allow to use an instance or an id in the code by just calling int on it.