The problem was that my first keyword-argument list was in Unicode. Since StringProperty accepts Unicode, the second list was fine. I needed to convert the first list to str before proceeding. Here is the modified, working code:
form_values = [str(i) for i in self.request.arguments()] form_response=[] for key in form_values: form_response.append(self.request.get(key)) data = dict(zip(form_values,form_response)) user = User(**data) Thank you for the clarification. Emery On Feb 20, 5:52 pm, djidjadji <djidja...@gmail.com> wrote: > You must expand the dictionary into named-arguments > No need to specify parent and key_name arguments, they have default values > > keys=['a','b','c'] > values=['1','2','3'] > data = dict(zip(keys,values)) > person = Person(**data) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---