Skip to content

Commit

Permalink
Merge pull request #28359 from dimagi/nh/rep/notify_reqd
Browse files Browse the repository at this point in the history
notify_addresses_str required, bump visibility
  • Loading branch information
kaapstorm authored Aug 12, 2020
2 parents 569189a + d38299d commit 9796055
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions corehq/motech/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class ConnectionSettingsForm(forms.ModelForm):
label=_('Addresses to send notifications'),
help_text=_('A comma-separated list of email addresses to send error '
'notifications'),
required=False,
required=True,
)

class Meta:
Expand Down Expand Up @@ -98,6 +98,7 @@ def __init__(self, domain, *args, **kwargs):
crispy.Fieldset(
_('Remote API Connection'),
crispy.Field('name'),
crispy.Field('notify_addresses_str'),
crispy.Field('url'),
crispy.Field('auth_type'),
crispy.Field('api_auth_settings'),
Expand All @@ -106,7 +107,6 @@ def __init__(self, domain, *args, **kwargs):
crispy.Field('client_id'),
crispy.Field('plaintext_client_secret'),
twbscrispy.PrependedText('skip_cert_verify', ''),
crispy.Field('notify_addresses_str'),
self.test_connection_button,
),
hqcrispy.FormActions(
Expand Down

0 comments on commit 9796055

Please sign in to comment.