class documentation

A stack container for variable context

Method __copy__ Undocumented
Method __init__ Undocumented
Method bind_template 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 Undocumented
Instance Variable template_name Undocumented
Instance Variable use_l10n Undocumented
Instance Variable use_tz Undocumented

Inherited from BaseContext:

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 new Return a new context with the same properties, but with only the values given in 'values' stored.
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 __copy__(self): (source)
def __init__(self, dict_=None, autoescape=True, use_l10n=None, use_tz=None): (source)
@contextmanager
def bind_template(self, template): (source)

Undocumented

def update(self, other_dict): (source)

Push other_dict to the stack of dictionaries in the Context

autoescape = (source)

Undocumented

render_context = (source)

Undocumented

template = (source)

Undocumented

template_name: str = (source)

Undocumented

use_l10n = (source)

Undocumented

Undocumented