What is reason to get python model conversion error? -


modelconversionerror: {'subscriber': {'contacts': [u'please use mapping field or contacts instance instead of list.']}

i getting modelconversionerror above. have correct error , reason getting that?

class contacts(model):     communication_number2 = stringtype(min_length=1, max_length=50)     communication_type2 = stringtype(min_length=1, max_length=50)  class subscriber(member):     master_policy_number = stringtype()     address = modeltype(address)     contacts = modeltype(contacts) 


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -