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

Method get

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

Source from the content-addressed store, hash-verified

759 template_name = "index.html"
760
761 def get(self, request):
762 request_query = request.GET
763 context = {
764 "vulnerability_search_form": VulnerabilitySearchForm(request_query),
765 "package_search_form": PackageSearchForm(request_query),
766 "release_url": f"https://github.com/aboutcode-org/vulnerablecode/releases/tag/v{VULNERABLECODE_VERSION}",
767 }
768 return render(request=request, template_name=self.template_name, context=context)
769
770
771class HomePageV2(VulnerableCodeView):

Callers 15

__init__Method · 0.45
getGeneratorMethod · 0.45
addElementMethod · 0.45
setProductMethod · 0.45
setSchemaVersionMethod · 0.45
setTimestampMethod · 0.45
getIdMethod · 0.45
getVersionMethod · 0.45
__lt__Method · 0.45
asOvalElementMethod · 0.45
__init__Method · 0.45
getClassMethod · 0.45

Calls 3

PackageSearchFormClass · 0.90
renderFunction · 0.85