django_mail_admin icon indicating copy to clipboard operation
django_mail_admin copied to clipboard

allow to use complex objects (even django models) as TemplateVariable value

Open Zagrebelin opened this issue 11 months ago • 0 comments

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.

Zagrebelin avatar Mar 05 '24 12:03 Zagrebelin