class documentation

class RequestContext(Context): (source)

View In Hierarchy

This subclass of template.Context automatically populates itself using the processors defined in the engine's configuration. Additional processors can be specified as a list of callables using the "processors" keyword argument.

Method __init__ Undocumented
Method bind_template Undocumented
Method new Return a new context with the same properties, but with only the values given in 'values' stored.
Instance Variable request Undocumented
Instance Variable template Undocumented
Instance Variable _processors Undocumented
Instance Variable _processors_index Undocumented

Inherited from Context:

Method __copy__ Undocumented
Method update Push other_dict to the stack of dictionaries in the Context
Instance Variable autoescape Undocumented
Instance Variable render_context Undocumented
Instance Variable template_name Undocumented
Instance Variable use_l10n Undocumented
Instance Variable use_tz Undocumented

Inherited from BaseContext (via Context):

Method __contains__ Undocumented
Method __delitem__ Delete a variable from the current context
Method __eq__ Compare two contexts by comparing theirs 'dicts' attributes.
Method __getitem__ Get a variable's value, starting at the current context and going upward
Method __iter__ Undocumented
Method __repr__ Undocumented
Method __setitem__ Set a variable in the current context
Method flatten Return self.dicts as one dictionary.
Method get Undocumented
Method pop Undocumented
Method push Undocumented
Method set_upward Set a variable in one of the higher contexts if it exists there, otherwise in the current context.
Method setdefault Undocumented
Instance Variable dicts Undocumented
Method _reset_dicts Undocumented
def __init__(self, request, dict_=None, processors=None, use_l10n=None, use_tz=None, autoescape=True): (source)
@contextmanager
def bind_template(self, template): (source)
def new(self, values=None): (source)

Return a new context with the same properties, but with only the values given in 'values' stored.

Undocumented

_processors = (source)

Undocumented

_processors_index = (source)

Undocumented