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
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 #