MCPcopy Create free account
hub / github.com/developerfromjokela/opencarwings / Step2Form

Class Step2Form

ui/forms.py:22–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20 disable_auth = forms.BooleanField(label=_("Disable TCU authentication"), required=False)
21 force_soc_display = forms.BooleanField(label=_("Show calculated battery percentage"), required=False)
22 hmac_key = forms.RegexField(label=_("HMAC Key"), max_length=32, required=False, regex=r"^([0-9a-fA-F])+")
23
24class Step0Form(forms.Form):
25 tcu_type = forms.ChoiceField(label="TCU Type", choices=TCU_TYPE)
26 default_color = forms.ChoiceField(label="Default Color", required=False, choices=CAR_COLOR)
27
28class Step2Form(forms.Form):
29 unit_id = forms.CharField(label="Unit ID", max_length=32, required=True, strip=True, min_length=5)

Callers 1

setup_step2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected