This error occurs when the library - "django-sendgrid-v5" is not specified in your requirements.txt
.
Install the library "django-sendgrid-v5" to resolve the error using the pip
command shown below:
1
pip install django-sendgrid-v5
Then, open the settings.py
in your Django project and add the entries shown below.
1 2
EMAIL_BACKEND = "sendgrid_backend.SendGridBackend" SENDGRID_API_KEY = os.environ["SENDGRID_API_KEY"] // or hardcode API Key
Finally, relaunch your Django application and your problem will be resolved.
View all errors
© 2022 Courier. All rights reserved.