Anymail SES if cloud provider is AWS

This commit is contained in:
Michael Karamuth 2019-11-22 22:42:10 +04:00
parent e9df2ddc0c
commit 98996e78e8

View File

@ -18,4 +18,9 @@ django-storages[boto3]==1.8 # https://github.com/jschneier/django-storages
{%- elif cookiecutter.cloud_provider == 'GCP' %}
django-storages[google]==1.8 # https://github.com/jschneier/django-storages
{%- endif %}
{%- if cookiecutter.cloud_provider == 'AWS' %}
django-anymail[amazon_ses]==7.0.0 # https://github.com/anymail/django-anymail
{%- else %}
django-anymail[mailgun]==7.0.0 # https://github.com/anymail/django-anymail
{%- endif %}