durusmail: quixote-users: Question about _q_getname
Question about _q_getname
2002-01-24
2002-01-24
2002-01-24
2002-01-24
2002-01-25
2002-01-25
Question about _q_getname
David Ascher
2002-01-24
Neil Schemenauer wrote:
>
> Here's a bit of code that should clear things up.

> Now, I think the reason you are getting "a b a b" is because the
> FIX_TRAILING_SLASH option is turned on, your Folder object is not
> callable and you are actually accessing "/a/b".  When Quixote is done
> traversing that path it ends up with a Folder instance.  Since that
> object is not callable Quixote helpfully issues a redirect to "/a/b/".
> While you're in development I would suggest turning the
> FIX_TRAILING_SLASH option off.

Thanks to you and Greg.  That does clear it up.  I must have skipped
over the part of the docs that explains the role of callability in the
namespaces.  That'll teach me to read docs on the bus =).

--david


reply