django_mail_admin
django_mail_admin copied to clipboard
allow to use complex objects (even django models) as TemplateVariable value
Right now TemplateVariable values are casted to string (variables.append(TemplateVariable(name=k, value=str(v), email=email))
). Need to use json.dumps
here, or some methods from django.core.serializers
module.