On 8/6/15 6:04 PM, Jinghui Niu wrote:
I read the documentation and encountered this:
|
@validates('addresses', include_backrefs=False)
def validate_address(self, key, address):
assert '@' in address.email
return address
|
What are the key and address in the validate_address function?
I read the documentation and encountered this:
@validates('addresses', include_backrefs=False)
def validate_address(self, key, address):
assert '@' in address.email
return address
What are the key and address in the validate_address function? I can't find
any explanation in our