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
Send up to 10,000 notifications every month, for free.
Get started for free
Send up to 10,000 notifications every month, for free.
Get started for free
© 2024 Courier. All rights reserved.