Hello I'm writting pyramid-based webapp. I use the 'user object as a request attribute' pattern from pyramid cookbook (http:// docs.pylonsproject.org/projects/pyramid_cookbook/dev/ authentication.html). It's very helpful, but unfortunately it also causes many SQL calls to the database.
I found that the SELECT statement for user's details executes for every static file that I have in a template (e.g. css, js). Am I doing something wrong? Is there any possibility to disable the database calls, when serving the static files? Thank you in advance. Best regards, Adam Klekotka -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
