[Repoze-dev] Keeping pages out of deliverance's hands

Reinout van Rees reinout at vanrees.org
Tue Mar 11 15:53:06 UTC 2008


Paul Everitt schreef:
> 
> Tres made a "urienv" branch for Deliverance that allows you to put a 
> middleware step in front of Deliverance to control which theme gets set.

That is the one that is now merged back to trunk, right?

> However, what you want is simpler: you can write a middleware step that 
> sets the "notheme" flag on the query string.

Hey, neat. Didn't know that one :-) Works like a charm in the browser at 
least.


For making a middleware step: does anyone know a paster skeleton for 
that? Googling for paster skeletons for creating stuff that is to be 
used by paster is a bit hard :-)


Reinout

-- 
Reinout van Rees          Blog: http://vanrees.org/weblog/
reinout at vanrees.org          Work: http://zestsoftware.nl/
http://vanrees.org          Video: http://reinout.blip.tv/



More information about the Repoze-dev mailing list