This commit is contained in:
app@dynamicweb-production 2023-11-17 03:39:12 +01:00
parent c5f8660c55
commit 3c3c614b6b
3 changed files with 3 additions and 0 deletions

View file

@ -31,6 +31,7 @@ class ContactView(FormView):
return context return context
def form_valid(self, form): def form_valid(self, form):
print("alplora contactusform")
#form.save() #form.save()
#form.send_email(email_to='info@alplora.ch') #form.send_email(email_to='info@alplora.ch')
#messages.add_message(self.request, messages.SUCCESS, self.success_message) #messages.add_message(self.request, messages.SUCCESS, self.success_message)

View file

@ -835,6 +835,7 @@ class ContactView(FormView):
success_message = _('Message Successfully Sent') success_message = _('Message Successfully Sent')
def form_valid(self, form): def form_valid(self, form):
print("digital glarus contactusform")
#form.save() #form.save()
#form.send_email() #form.send_email()
#messages.add_message(self.request, messages.SUCCESS, self.success_message) #messages.add_message(self.request, messages.SUCCESS, self.success_message)

View file

@ -25,6 +25,7 @@ class ContactView(FormView):
success_message = _('Message Successfully Sent') success_message = _('Message Successfully Sent')
def form_valid(self, form): def form_valid(self, form):
print("ungleich_page contactusform")
#form.save() #form.save()
#form.send_email() #form.send_email()
#messages.add_message(self.request, messages.SUCCESS, self.success_message) #messages.add_message(self.request, messages.SUCCESS, self.success_message)