App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | List of all members
google.appengine._internal.django.template.context.RenderContext Class Reference
Inheritance diagram for google.appengine._internal.django.template.context.RenderContext:
google.appengine._internal.django.template.context.BaseContext

Public Member Functions

def __iter__
 
def has_key
 
def get
 
- Public Member Functions inherited from google.appengine._internal.django.template.context.BaseContext
def __init__
 
def __repr__
 
def __iter__
 
def push
 
def pop
 
def __setitem__
 
def __getitem__
 
def __delitem__
 
def has_key
 
def __contains__
 
def get
 

Additional Inherited Members

- Public Attributes inherited from google.appengine._internal.django.template.context.BaseContext
 dicts
 

Detailed Description

A stack container for storing Template state.

RenderContext simplifies the implementation of template Nodes by providing a
safe place to store state between invocations of a node's `render` method.

The RenderContext also provides scoping rules that are more sensible for
'template local' variables. The render context stack is pushed before each
template is rendered, creating a fresh scope with nothing in it. Name
resolution fails if a variable is not found at the top of the RequestContext
stack. Thus, variables are local to a specific template and don't affect the
rendering of other templates as they would if they were stored in the normal
template context.

The documentation for this class was generated from the following file: