[Repoze-dev] Keeping pages out of deliverance's hands
Tom Lazar
tom at tomster.org
Sat Apr 12 15:49:14 EDT 2008
On 2008-03-12 14:58:14 +0100, Tres Seaver
<tseaver at palladion.com> said:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Reinout van Rees wrote:
>> 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?
>
> Yes.
>
>>> 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 :-)
>
> Nope, we've just started for existing examples.
does anybody have a working example of this? i would a) need the
functionality and b) it sounds like an excellent starting point to
write simple middleware.
>
>
>
> Tres.
> - --
> ===================================================================
> Tres Seaver +1 540-429-0999
> tseaver at palladion.com
> Palladion Software "Excellence by Design" http://palladion.com
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFH1+F2+gerLs4ltQ4RAhasAKCvlWOuGeitUz25cbaRHsh+7QHaPQCcCy7J
> pQuLOcyGEC8MewEDqNF5oIE=
> =6q3+
> -----END PGP SIGNATURE-----
--
Tom Lazar
http://tomster.org
More information about the Repoze-dev
mailing list