blob: 86cf6ea75aceb5e809bdf5438f99d271803d155d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# -*- coding: utf-8 -*-
from celery import task
from sfaccount.functional import send_mail as _send_mail
@task
def send_mail(to, subject, content_text=None, content_html=None):
_send_mail(to=to,
subject=subject,
content_text=content_text,
content_html=content_html)
@task
def test_add(x, y):
return x + y
|