pythononwheels / pow_devel

development repo for PyhtonOnWheels framework
www.pythononwheels.org
MIT License
75 stars 10 forks source link

Validation for Model Attributes #7

Closed pythononwheels closed 7 years ago

pythononwheels commented 12 years ago

shall be transparently available as externel validation module/class.

method: getattribute in model checks whether or not there is a validation configured for this attribute. If so, it calls the validation method before setting the attribute

pythononwheels commented 7 years ago

solved by integrating cerberus schemas as the basic schema definition for pow models.