sentier-dev / dds_registration

Django app for event registration and billing
MIT License
0 stars 1 forks source link

Refactor hard-coded email messages as template files #149

Open lilliputten opened 6 months ago

lilliputten commented 6 months ago

All email texts and subjects are hard-coded in the dds_registration/models.py.

Unless it was done on purpose, they should be refactored in a form of standalone templates (probably with substitutable variables for names, urls, emails).

cmutel commented 6 months ago

This is a good idea, I had this same feeling writing the code before.