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

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -