django.template.base Template Example Code

Template is a class within the django.template.base module of the Django project.

Context, FilterExpression, Node, NodeList, Parser, TemplateSyntaxError, TextNode, Token, TokenType, VariableDoesNotExist, VariableNode, and token_kwargs are several other callables with code examples from the same django.template.base package.

Example 1 from django-cms

django-cms (project website) is a Python-based content management system (CMS) library for use with Django web apps that is open sourced under the BSD 3-Clause "New" license.

django-cms / cms / tests / test_static_placeholder.py