Great!! Just added:
def __str__(self):
return "%s.%s" % (self.__module__, self.__class__.__name__)
Works like a charm.
Thanks,
V.
PD: However, maybe it's worth to document it in the pyramid_beaker docs...
On 4 Feb 2011, at 15:13, Daniel Holth wrote:
> cache_key = " ".join(map(str,
cache_key = " ".join(map(str, deco_args + args))
One way is to define a __str__ method for your class that doesn't include
the object's id()
--
You received this message because you are subscribed to the Google Groups
"pylons-devel" group.
To post to this group, send email to pylons-devel@goog