Re: Storing long-term cookies as well as sessions?

2013-01-16 Thread Jonathan Vanasco
what kind of data ? what kind of application ? i've done things like this under pyramid: - store long-term 'cached' data in the database , keyed to a userid in the session. refresh that into the session if the user is logged in, but that key is not present. ( also save it whenever the values

Re: i18n doesn't work following only the documentation

2013-01-16 Thread Luis Aguirre
Hi Chris! I use TranslationStringFactory instead of TranslationString and added the domain option as you suggested in another email and works great! :) from pyramid.view import view_config from pyramid.i18n import TranslationStringFactory _ = TranslationStringFactory(domain='MyProject') @view_c

Re: how to build up a pyramid resource tree for a traversal based application that is available during whole application runtime

2013-01-16 Thread Sascha Gottfried
That makes the difference. Thank you! Am Dienstag, 15. Januar 2013 18:21:30 UTC+1 schrieb Wyatt Baldwin: > > On Tuesday, January 15, 2013 4:39:50 AM UTC-8, Sascha Gottfried wrote: >> >> Hello group, >> I am looking for a way to build up and keep my domain model in memory >> during pyramid serves