How to use variables from settings.py and django session in Jinja2?

2008-11-24 Thread Honghai
Hi there, I tried to integrate Jinja2 with Django, and it is pretty straightforward actually. But I didn't figure out how to access these settings.py variables (django specific) and the django session in the Jinja2 template. Could somebody help me out? Thanks a lot! cheers, Ho

How to use variables from settings.py and django session in Jinja2?

2008-11-24 Thread Honghai
Hi there, I tried to integrate Jinja2 with Django, and it is pretty straightforward actually. But I didn't figure out how to access these settings.py variables (django specific) and the django session in the Jinja2 template. Could somebody help me out? Thanks a lot! cheers, Ho