class documentation

class Context(BaseContext):

Known subclasses: django.template.context.RequestContext

View In Hierarchy

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 ​_reset​_dicts Undocumented
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
def __copy__(self):
def __init__(self, dict_=None, autoescape=True, use_l10n=None, use_tz=None):
@contextmanager
def bind_template(self, template):

Undocumented

def update(self, other_dict):
Push other_dict to the stack of dictionaries in the Context
autoescape =

Undocumented

render_context =

Undocumented

template =

Undocumented

template_name: str =

Undocumented

use_l10n =

Undocumented

use_tz =

Undocumented