[Twisted-Python] Woven trailing slashes

Eric Holm twisted at eholm.com
Tue May 13 22:06:45 EDT 2003

> resource = page.Page("foo")
> resource.addSlash = 0
That did the trick, thanks!

> The default behavior of Woven is now to automatically add a slash
> because it makes creating relative links far easier, ironically ;-)
So I'm doing things the hard way?  Hmmmm...

Speaking of links, when I use the Link widget, I get the following 
(seemingly harmless, but distracting nonetheless) warning:

...\twisted\web\woven\model.py:428: UserWarning: getSubmodel must get a request argument now
  warnings.warn("getSubmodel must get a request argument now")

for whatever that's worth.



More information about the Twisted-Python mailing list