MCPcopy Index your code
hub / github.com/django-haystack/django-haystack / extra_context

Method extra_context

haystack/views.py:119–125  ·  view source on GitHub ↗

Allows the addition of more context variables as needed. Must return a dictionary.

(self)

Source from the content-addressed store, hash-verified

117 return (paginator, page)
118
119 def extra_context(self):
120 """
121 Allows the addition of more context variables as needed.
122
123 Must return a dictionary.
124 """
125 return {}
126
127 def get_context(self):
128 paginator, page = self.build_page()

Callers 2

get_contextMethod · 0.95
extra_contextMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected