MCPcopy
hub / github.com/django/django / get_context_data

Method get_context_data

django/views/i18n.py:207–212  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

205 return catalog
206
207 def get_context_data(self, **kwargs):
208 return {
209 "catalog": self.get_catalog(),
210 "formats": get_formats(),
211 "plural": self.get_plural(),
212 }
213
214 def render_to_response(self, context, **response_kwargs):
215 def indent(s):

Callers 1

getMethod · 0.95

Calls 3

get_catalogMethod · 0.95
get_pluralMethod · 0.95
get_formatsFunction · 0.85

Tested by

no test coverage detected