[Framework-Team] Re: PLIP125 (link integrity) part II - redirect-on-move ready for merge
optilude at gmx.net
Sun Dec 24 01:36:33 UTC 2006
Hanno Schlichting wrote:
> The only thing that seems a bit dubious to me is the IGNORE_IDS constant
> in browser.py. I think this is a policy decision that should be easier
> to customize. The simplest solution here would be to turn this into a
> simple global utility with just one method that would return this list.
> This way people who really wanted to customize it could add their own
> local utility to return something different (for instance ignore all
> aliases registered on any content type + all dynamic view templates + ...).
Fixed now - I went for an adapter instead, since conceivably you may
want to vary it based on context (though "context" here is of course not
the actual redirection target, and most often it'll be the portal root;
the interface is registered for * by default).
More information about the Framework-Team