From e74f3495c816453d701335a33cd37a1f3b4f08bf Mon Sep 17 00:00:00 2001 From: Greg Newman Date: Fri, 4 Nov 2022 10:03:25 -0400 Subject: [PATCH] blacken --- support/forms.py | 4 +++- support/views.py | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/support/forms.py b/support/forms.py index 4c7ebb0b..6d5f58dc 100644 --- a/support/forms.py +++ b/support/forms.py @@ -14,5 +14,7 @@ class ContactForm(forms.Form): last_name = forms.CharField(label=_("last name"), max_length=50) email = forms.CharField(label=_("email"), max_length=150) message = forms.CharField(label=_("message"), widget=forms.Textarea) - phone_number = forms.CharField(label=_("phone number"), max_length=30, required=False) + phone_number = forms.CharField( + label=_("phone number"), max_length=30, required=False + ) topic = forms.ChoiceField(label="topic", required=False, choices=TOPIC_CHOICES) diff --git a/support/views.py b/support/views.py index 7ab445b5..37881953 100644 --- a/support/views.py +++ b/support/views.py @@ -19,6 +19,7 @@ class SupportView(SupportBaseView): View for the Support page with contact form TODO: Add reCaptcha """ + template_name = "support/support.html" @@ -27,4 +28,5 @@ class ContactView(SupportBaseView): View for the Support page with contact form TODO: Add reCaptcha """ + template_name = "support/contact.html"