Django: List of symbols for templates -


not direct coding question, still wasn't able find on own ... , related coding ;)

is there list symbols/placeholders available in django template? e.g. {{user}} etc.

there list of built-in filters , tags, in addition default template context processors add following:

  • {{ user }} , {{ perms }} django.contrib.auth.context_processors.auth
  • {{ debug }} , {{ sql_queries }} django.core.context_processors.debug
  • {{ languages }} , {{ language_code }} django.core.context_processors.i18n
  • {{ media_url }} django.core.context_processors.media
  • {{ static_url }} django.core.context_processors.static
  • {{ csrf_token }} django.core.context_processors.csrf
  • {{ request }} django.core.context_processors.request
  • {{ messages }} django.contrib.messages.context_processors.messages

Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -