hi group,

 i'm using pyramid and jinja2 together, and i have trouble to access
the session data from jinja2,
 after some digging, i found this solution,
 
http://stackoverflow.com/questions/2554174/how-do-i-access-session-data-in-jinja2-templates-bottle-framework-on-app-engine

 but i'm not sure about whether this is the proper way to do, by this
way i need to get the env when setup,
 then add a 'session' key to jinja2's global vars when get a request,
 i think it means i need to do it in every view.

 is there a better way to access the 'session' data from jinja2?

Thanks,
Evan

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-devel" group.
To post to this group, send email to pylons-devel@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-devel?hl=en.

Reply via email to