You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

28 lines
488 B

from django.conf import settings
from djmail.template_mail import InlineCSSTemplateMail
def send(name, to, ctx):
o = InlineCSSTemplateMail(name)
ctx["SITE_ROOT"] = settings.SITE_ROOT
o.send(to, ctx)
def login(to, ctx):
send("login", to, ctx)
def set_password(to, ctx):
send("set-password", to, ctx)
def alert(to, ctx):
send("alert", to, ctx)
def verify_email(to, ctx):
send("verify-email", to, ctx)
def report(to, ctx):
send("report", to, ctx)