On Sat, Jul 14, Giampiero Benvenuti wrote:
I have a python script in my zope instance:
dt=DateTime(2012,1)
print dt
print dt.strftime('%Y')
print dt.year()
return printed
2012/01/01 00:00:00 GMT+2
2011
2012
Why do I get two different values for the year (2011, 2012)?
It would seem
On Tue, Jul 13, Stephan Richter wrote:
On Tuesday, July 13, 2010, Marco Bizzarri wrote:
* IDE tools (emacs does not count as an IDE; vi* neither; Eclipse+PyDev is
preferred);
I am usually not commenting on things like that, but: What a turn off! This
is
one of the worst requirements I
Dear List,
I am trying to add an AccessRule to a folder so our friendly Monster
redirects people to the same object in another folder in the Zope root,
i.e. if people visit
https://myurl.invalid/foo/bar/baz
I would like them redirected to
https://myurl.invalid/quux/bar/baz
I have a
On Wed, Jun 23, Kristian Thy wrote:
Dear List,
How can I make it pick up the right object?
An off-list solution made its way to me:
from zExceptions import Redirect
rewritten_url = context.REQUEST['URL'].replace('foo', 'quux')
rewritten_url += '/' +
'/'.join(reversed