[google-appengine] Re: IntegerProperty doesn't result in an int

2009-04-15 Thread djidjadji
Do you reference the IntegerProperty with the class name or with self? istr = str(MyCustomModel.iprop) # this gives your string value or istr = str(self.iprop) # this should give the integer value 2009/4/13 alex gsm...@gmail.com: Got a class that extends db.Model with an IntegerProperty

[google-appengine] Re: IntegerProperty doesn't result in an int

2009-04-14 Thread Jeff S
Hi alex, I haven't been able to reproduce this exactly, could I see the class declaration for this class? I'm wondering if the integer property member is being set to the IntegerProperty constructor instead of the result of calling the constructor. class X(db.Model): i = db.IntegerProperty #