absolute_url in 2.1; clarification required
22 Nov
1999
22 Nov
'99
1:29 p.m.
The behaviour of absolute_url has changed in 2.1 beta 2, relative to 2.0... Consider three sibling folders, a, b, and c. In 2.0, <dtml-var "a.b.c.absolute_url()"> would return "http://whatever/a/b/c", but in 2.1 it just returns "http://whatever/c". I guess the new behaviour is more consistent with it's name, but it does go against the docstring in 2.0: """Return an absolute url to the object. Note that the url will reflect the acquisition path of the object if the object has been acquired.""" Can someone confirm whether or not this change in behaviour was intended? Thanks, Toby Dickenson
9632
Age (days ago)
9632
Last active (days ago)
0 comments
1 participants
participants (1)
-
Toby Dickenson