MCPcopy Index your code
hub / github.com/aboutcode-org/vulnerablecode / get_context_data

Method get_context_data

vulnerabilities/views.py:1085–1089  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

1083 authentication_form = AdminLoginForm
1084
1085 def get_context_data(self, **kwargs):
1086 context = super().get_context_data(**kwargs)
1087 context["site_title"] = "VulnerableCode site admin"
1088 context["site_header"] = "VulnerableCode Administration"
1089 return context
1090
1091
1092class AdvisoryToDoListView(ListView, FormMixin):

Callers

nothing calls this directly

Calls 1

get_context_dataMethod · 0.45

Tested by

no test coverage detected