1👍
✅
In settings.py, you have to add these liner:
EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_HOST_USER = 'xxxxxxxxxxx@gmail.com'
EMAIL_HOST_PASSWORD = 'xxxxxxxxxxxxxx'
EMAIL_PORT = 587 #or try with 25
0👍
https://docs.djangoproject.com/en/1.7/topics/email/
be sure to name your EMAIL variables and .gitignore your settings file
- [Answer]-Django sqlite downgrade loaddata Could not load contenttypes.ContentType(pk=1): no such column: name
- [Answer]-Django URLconf error
Source:stackexchange.com