I see what you mean about not being about to have a global list of symbols
because everything is subject to change. But it would be nice to have a
default list of symbols available depending on the default initial setup.
I think the csrf_token and request token are available in the
django.templ
st)
>
> On Sunday, November 22, 2015 at 1:17:59 PM UTC+1, JirkaV wrote:
>>
>> Hi there, I'm not a Jinja2 user, but standard Django templates get these
>> variables via context processors. Check out
>> https://docs.djangoproject.com/en/1.8/topics/templates/#co
ors. Check out
> https://docs.djangoproject.com/en/1.8/topics/templates/#context-processors
>
> HTH
>
>Jirka
>
> *From: *Patrick Spencer
> *Sent: *neděle, 22. listopadu 2015 5:45
> *To: *Django users
> *Reply To: *django...@googlegroups.com
> *Subject: *Lis
I'm using Django 1.8.6 with the built in JInja2 support. I spent a while
trying to figure out how to pass a csrf token to a JInja2 template. After a
while I realized one could just write {{ csrf_token }} in the template,
without passing this value through a view, and it would just print out the
4 matches
Mail list logo