[Cubicweb] Custom URL rewriters

Nicolas Chauvat nicolas.chauvat at logilab.fr
Thu Sep 22 12:39:39 CEST 2011


Hi,

On Fri, Sep 16, 2011 at 01:04:13PM +0200, Adrien Di Mascio wrote:
> - a ``CallbackURLRewriter`` that maps a regexp to a callback
>   to be called if the input url matches. In a way, it's only a
>   generalization of the ``SimpleReqRewriter`` : instead of having
>   a dict of properties that will update the request's form, it simply
>   calls a callback with the input url, the request, and the
>   regexp's MatchObject.

I needed something like that recently... so +1

-- 
Nicolas Chauvat

logilab.fr - services en informatique scientifique et gestion de connaissances  



More information about the Cubicweb mailing list