fixed issue with storing Row in session
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.1.1 (2012-10-15 16:28:43) dev
|
Version 2.1.1 (2012-10-15 19:39:19) dev
|
||||||
|
|||||||
+2
-2
@@ -6417,10 +6417,10 @@ class Row(object):
|
|||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
### this could be made smarter
|
### this could be made smarter
|
||||||
return '<Row %s>' % self.__dict__
|
return '<Row %s>' % self.as_dict()
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return '<Row %s>' % self.__dict__
|
return '<Row %s>' % self.as_dict()
|
||||||
|
|
||||||
def __int__(self):
|
def __int__(self):
|
||||||
return object.__getattribute__(self,'id')
|
return object.__getattribute__(self,'id')
|
||||||
|
|||||||
Reference in New Issue
Block a user