django-user-management icon indicating copy to clipboard operation
django-user-management copied to clipboard

Replace formatted translatable strings with templates for better flexibility

Open LilyFirefly opened this issue 10 years ago • 1 comments

The password_reset_email_handler and validation_email_handler each define a subject that is formatted with the site.domain. This is difficult to override when the domain is unwanted.

We could instead use a django template, to which we pass the site.domain in a context. This would allow a project to replace the subject completely, ignoring the context.

LilyFirefly avatar Aug 04 '15 13:08 LilyFirefly

Can the subject be passed through the notification? Or be overridden by the notification if present?

kevinetienne avatar Aug 04 '15 13:08 kevinetienne