-
Notifications
You must be signed in to change notification settings - Fork 97
Slow e-mail #60
Comments
This is something that is not supported out of the box. You should subclass #urls.py
from django.conf.urls import url
from djangocms_forms.views import FormSubmission
from project.forms import AsyncFormBuilder # <= custom form
urlpatterns = [
url(r'^forms/submit/$', FormSubmission.as_view(form_class=AsyncFormBuilder), name='djangocms_forms_submissions'),
] |
Let me know if the above suggestion solves your issue, so I can close this. |
Hello mishbahr, Great package you have here, it's really helpful. I'll try your solution above please don't close this issue yet as I might add a solution of mine as well for others to use Regards, |
Hi guys, Just in case you encountered this, my solution was to use django celery's backend email(django-celery-email). By that, e-mail will be sending asynchronously and you don't need to configure anything related to this plugin.. But I would suggest to @mishbahr , to make an option at least to make the e-mail asynchronously sent. Using the code below:
Thumbs up with this plug-in by the way! |
The contact-form is slow to react when sending e-mails. Seems like it is synchronous. Is there an available setting to make it asynchronous?
The text was updated successfully, but these errors were encountered: