all: implement black as code formatter
This commit is contained in:
@ -12,12 +12,18 @@ class WebhookPolicyForm(forms.ModelForm):
|
||||
class Meta:
|
||||
|
||||
model = WebhookPolicy
|
||||
fields = GENERAL_FIELDS + ['url', 'method', 'json_body', 'json_headers',
|
||||
'result_jsonpath', 'result_json_value', ]
|
||||
fields = GENERAL_FIELDS + [
|
||||
"url",
|
||||
"method",
|
||||
"json_body",
|
||||
"json_headers",
|
||||
"result_jsonpath",
|
||||
"result_json_value",
|
||||
]
|
||||
widgets = {
|
||||
'name': forms.TextInput(),
|
||||
'json_body': forms.TextInput(),
|
||||
'json_headers': forms.TextInput(),
|
||||
'result_jsonpath': forms.TextInput(),
|
||||
'result_json_value': forms.TextInput(),
|
||||
"name": forms.TextInput(),
|
||||
"json_body": forms.TextInput(),
|
||||
"json_headers": forms.TextInput(),
|
||||
"result_jsonpath": forms.TextInput(),
|
||||
"result_json_value": forms.TextInput(),
|
||||
}
|
||||
|
Reference in New Issue
Block a user