30 Mar
2009
30 Mar
'09
3:50 p.m.
On Sat, Mar 28, 2009 at 01:02:58PM +0100, Jakob Schou Jensen wrote:
Hi Paul,
Doing a
some_image._p_changed = 1
gives me an error:
"_p_changed" is an invalid attribute name because it starts with "_".
Do you know what I am doing wrong?
Ah, I didn't realize you are doing this in "untrusted" code. http://docs.zope.org/zope2/zope2book/source/ScriptingZope.html#script-securi... Another approach would be to just change any (small) attribute of the object. Something like: some_image.title = some_image.title -- Paul Winkler http://www.slinkp.com