LPgenerator / django-db-mailer

Django module to easily send emails/sms/tts/push using django templates stored on database and managed through the Django Admin
https://github.com/LPgenerator/django-db-mailer
GNU General Public License v2.0
256 stars 80 forks source link

load_dbmail_base_templates overwrites existing base templates #103

Open kaleb opened 6 years ago

kaleb commented 6 years ago

Do you want to request a feature or report a bug?

Featur request.

What is the current behavior?

If I have a base template with either ID of 1, 2, or 3, my calling manage.py load_dbmail_base_templates will overwrite my base template.

What is the expected behavior?

Should use natural keys.

Which versions of DbMail, Django and which Python / OS are affected by this issue? Did this work in previous versions of DbMail?

All