I am scratching my head at this seemingly simple problem. All I want to do is: 1) Take the value of a db.IntegerProperty 2) increment it using a local variable 3) Save the local variable back to the IntegerProperty
class IncrementHolder: counter = db.IntegerProperty() class UserOfIncrementHolder: def doSomething(self): incrementQueryResult = IncrementHolder.all() #assume there is only one of these incrementHolderObj = incrementQueryResult.get() currCountValue = incrementHolderObj.counter currCountValue += 1 ## This is where the error occurs !! incrementHolderObj.put() ... On the error line, i have already tried the following int(currCountValue) without success. What gives??? Thanks --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---