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

Method get_context_data

django/contrib/auth/views.py:210–215  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

208 extra_context = None
209
210 def get_context_data(self, **kwargs):
211 context = super().get_context_data(**kwargs)
212 context.update(
213 {"title": self.title, "subtitle": None, **(self.extra_context or {})}
214 )
215 return context
216
217
218@method_decorator([login_not_required, csrf_protect], name="dispatch")

Callers

nothing calls this directly

Calls 2

get_context_dataMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected