MCPcopy
hub / github.com/django/django / push

Method push

django/template/context.py:53–60  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

51 return reversed(self.dicts)
52
53 def push(self, *args, **kwargs):
54 dicts = []
55 for d in args:
56 if isinstance(d, BaseContext):
57 dicts += d.dicts[1:]
58 else:
59 dicts.append(d)
60 return ContextDict(self, *dicts, **kwargs)
61
62 def pop(self):
63 if len(self.dicts) == 1:

Callers 15

serializeFeaturesMethod · 0.45
initMapWidgetInSectionFunction · 0.45
initSidebarQuickFilterFunction · 0.45
populateFunction · 0.45
SelectBox.jsFile · 0.45
initPrepopulatedFieldsFunction · 0.45
showAdminPopupFunction · 0.45
push_stateMethod · 0.45
make_contextFunction · 0.45
renderMethod · 0.45
renderMethod · 0.45
renderMethod · 0.45

Calls 2

ContextDictClass · 0.85
appendMethod · 0.45