def sendmail_proxy(subject, email, template, **context):
    """Cast the lazy_gettext'ed subject to string before passing to Celery"""
    sendmail.delay(subject.value, email, template, **context)
def sendmail_proxy ( subject , email , template , ** context ) : sendmail . delay ( subject . value , email , template , ** context )
Cast the lazy_gettext'ed subject to string before passing to Celery