Alex Le Dain wrote:
Ok I have another clue. If I restart the cherrypy server then the
resolution disappears for the record that previously had the resolution
displayed. So it's a caching function of some sort.
Aha! If I add the following to the database record definition :
class Document (SQLObject) :
class sqlmeta :
cacheValues = False
dbCreated = DateTimeCol()
dbModified = DateTimeCol(default = None)
The problem disappears. So what in SQLObject causes this formatting
behaviour with the cached results? Hmmm, looks like I need to burrow
into the sqlobject cache code.
cheers, Alex.
--
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss