# Path: users/tasks.py
# @task(name="send_feedback_email_task")
# def task_send_email_to_users(customer_id, from_name, from_email, subject, message):
#     customer = Customer.objects.get(pk=customer_id)
#     return send_email_to_users(customer, from_name, from_email, subject, message)


from django import forms
from django.utils.translation import ugettext as _
from crispy_forms.helper import FormHelper
from crispy_forms.layout import Layout, Submit
from crispy_forms.bootstrap import Field, FormActions
from users.tasks import task_send_email_to_users
# -*- coding: utf-8 -*-




class GenericMessage(forms.Form):
    from_name = forms.CharField(
        label=_("From Name")

# Path: users/tasks.py
# @task(name="send_feedback_email_task")
# def task_send_email_to_users(customer_id, from_name, from_email, subject, message):
#     customer = Customer.objects.get(pk=customer_id)
#     return send_email_to_users(customer, from_name, from_email, subject, message)


# Path: core/forms.py
from django import forms
from django.utils.translation import ugettext as _
from crispy_forms.helper import FormHelper
from crispy_forms.layout import Layout, Submit
from crispy_forms.bootstrap import Field, FormActions
from users.tasks import task_send_email_to_users

# -*- coding: utf-8 -*-




class GenericMessage(forms.Form):
    from_name = forms.CharField(
        label=_("From Name")

    )