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

python 3.7 django 2.1 #118

Closed mhndev closed 6 years ago

mhndev commented 6 years ago

I'm getting following error in python 3.7 , django 2.1.

File "C:\Projects\Shenoto\MessageServer\venv\lib\site-packages\dbmail\models.py", line 113, in MailFromEmail blank=True, null=True, default=None) TypeError: init() missing 1 required positional argument: 'on_delete'

ruscoder commented 6 years ago

Hello @mhndev! It seems you are using the previous version from PyPI. But Django 2+ support was added only in a master branch.
Soon we'll publish a new version into PyPI.

mhndev commented 6 years ago

Thanks