search
search copied to clipboard
The logic for validation/conversion on getting/setting field values should be on `Field` classes
Move away from using __getattribute__
and __setattr__
on DocumentModel
instances and instead use __get__
and __set__
to do the same job on Field
instances.