BadKeyError: Name must be string type, not Key

9 views
Skip to first unread message

Venkatesh Rangarajan

unread,
Jul 23, 2010, 10:46:37 PM7/23/10
to Google App Engine
Its been a while since ( about a year) since I looked at one of the
app that i built.

Getting this error now on the following statement, which was working
previously

BadKeyError: Name must be string type, not Key
results = models.Visa.all().search(keyword.lower())

Is this deprecated or something. How to search from datastore now ?
Reply all
Reply to author
Forward
0 new messages