class documentation

class RequestContext(Context):

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 ​_processors Undocumented
Instance Variable ​_processors​_index Undocumented
Instance Variable request Undocumented
Instance Variable template 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 ​_reset​_dicts Undocumented
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
def __init__(self, request, dict_=None, processors=None, use_l10n=None, use_tz=None, autoescape=True):
@contextmanager
def bind_template(self, template):
def new(self, values=None):
Return a new context with the same properties, but with only the values given in 'values' stored.
_processors =

Undocumented

_processors_index =

Undocumented

request =

Undocumented

template =