MCPcopy Create free account
hub / github.com/aboutcode-org/vulnerablecode / get

Method get

vulnerabilities/views.py:774–781  ·  view source on GitHub ↗
(self, request)

Source from the content-addressed store, hash-verified

772 template_name = "index.html"
773
774 def get(self, request):
775 request_query = request.GET
776 context = {
777 "vulnerability_search_form": AdvisorySearchForm(request_query),
778 "package_search_form": PackageSearchForm(request_query),
779 "release_url": f"https://github.com/aboutcode-org/vulnerablecode/releases/tag/v{VULNERABLECODE_VERSION}",
780 }
781 return render(request=request, template_name=self.template_name, context=context)
782
783
784email_template = """

Callers

nothing calls this directly

Calls 3

AdvisorySearchFormClass · 0.90
PackageSearchFormClass · 0.90
renderFunction · 0.85

Tested by

no test coverage detected