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

Class PackageSearchForm

vulnerabilities/forms.py:19–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17
18
19class PackageSearchForm(forms.Form):
20
21 search = forms.CharField(
22 required=True,
23 widget=forms.TextInput(
24 attrs={"placeholder": "Package name, purl or purl fragment"},
25 ),
26 )
27
28
29class VulnerabilitySearchForm(forms.Form):

Callers 6

get_context_dataMethod · 0.90
get_context_dataMethod · 0.90
get_context_dataMethod · 0.90
get_context_dataMethod · 0.90
getMethod · 0.90
getMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected