template.context_processors.debug()
  • References/Python/Django/API/Templates/The Django template language: for Python programmers

debug() [source] If this processor is enabled, every RequestContext will contain

2025-01-10 15:47:30
template.base.Origin
  • References/Python/Django/API/Templates/The Django template language: for Python programmers

class Origin [source] name The path to

2025-01-10 15:47:30
template.base.Origin.template_name
  • References/Python/Django/API/Templates/The Django template language: for Python programmers

template_name The relative path to the template as passed into the template loader. If the template

2025-01-10 15:47:30
template.Engine.from_string()
  • References/Python/Django/API/Templates/The Django template language: for Python programmers

Engine.from_string(template_code) [source] Compiles the given template code and returns a

2025-01-10 15:47:30
template.loaders.filesystem.Loader
  • References/Python/Django/API/Templates/The Django template language: for Python programmers

class filesystem.Loader Loads templates from the filesystem, according to DIRS. This

2025-01-10 15:47:30
template.Context.setdefault()
  • References/Python/Django/API/Templates/The Django template language: for Python programmers

Context.setdefault(key, default=None) New in Django 1.9.

2025-01-10 15:47:30
template.Context.pop()
  • References/Python/Django/API/Templates/The Django template language: for Python programmers

Context.pop()

2025-01-10 15:47:30
template.loaders.base.Loader.load_template()
  • References/Python/Django/API/Templates/The Django template language: for Python programmers

load_template(template_name, template_dirs=None) [source] Returns a tuple of (template

2025-01-10 15:47:30
template.Engine.get_template()
  • References/Python/Django/API/Templates/The Django template language: for Python programmers

Engine.get_template(template_name) [source] Loads a template with the given name, compiles

2025-01-10 15:47:30
template.loaders.base.Loader.load_template_source()
  • References/Python/Django/API/Templates/The Django template language: for Python programmers

load_template_source(template_name, template_dirs=None) [source] Returns a tuple of (

2025-01-10 15:47:30