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
255 stars 81 forks source link

_get_context method in mail.py should use context._meta.model_name instead context._meta.module_name #30

Closed Nekmo closed 8 years ago

Nekmo commented 8 years ago

module_name parameter is removed in 1.8 https://code.djangoproject.com/ticket/19689

This causes a fault in my program:

Exception Type: AttributeError at /coms/send-email/
Exception Value: 'Options' object has no attribute 'module_name'

Please fix the problem.

gotlium commented 8 years ago

I don't have a time. You can fix it by you're self at development branch. thanks.

gotlium commented 8 years ago

@skhaylov, thanks.

gotlium commented 8 years ago

pip install django-db-mailer==2.3a1