since you're using sqlalchemy, you could use a pyramid subscriber to 
configure the session / engine... and use one of sqlalchemy's hooks to 
automatically filter for you.

https://bitbucket.org/zzzeek/sqlalchemy/wiki/UsageRecipes/PreFilteredQuery
https://bitbucket.org/zzzeek/sqlalchemy/wiki/UsageRecipes/GlobalFilter

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to